News for hackers. Stuff that matters.

funkydata

Re:macOS Golden Gate Is a Buggy Mess on Wednesday September 30, 2026 @07:31AM (#49907392)
Same here: 15.8. I'm still running Intel Macs. Homebrew is out, Macports are in. Xcode 26.3. Everything else works just fine with a bit of patching (e.g Vagrant).
Re:Has the cost of building software just dropped 90%? on Tuesday December 09, 2025 @09:02AM (#46205011)
That comment made my day. I actually had an intern like that!
Re:How I code with AI on a budget/free on Sunday August 10, 2025 @08:43AM (#44854811)
Also, well, I mean... If there's all that time/effort involved... Just get yourself some tea, coffee, doodle on some piece of paper, do some push-ups, some yoga, prey, meditate, breathe and then... Code, lol!
Re:Where can I see Hokusai's Great Wave today? on Wednesday July 09, 2025 @09:09AM (#44509612)
So, actually, on the museum's ticketing site they say that the internet tickets are sold out, but if you actually get there, there's a limited amount of tickets that are sold each day (because not everyone uses the internet) : "Merci de noter que des places pour la visite le jour même sont en vente chaque jour directement à l'accueil de l'exposition, dans la limite des places disponibles.".
Re:The curse of knowing how, or; fixing everything on Tuesday May 06, 2025 @07:20AM (#43903835)
Don't be hard on yourself. We're in the same boat.

There is two things I validated from reading Barbara Oakley and Kató Lomb is that a) it's okay to be a slow learner b) it's okay to learn differently.

Just do your thing.

Re:Distributed Erlang on Tuesday December 03, 2024 @03:07AM (#42303958)
If one of your browsers has this feature, just toggle reader view.
Re:Django: Fix a view using a debugger with breakpoint() on Monday December 02, 2024 @03:15PM (#42299955)
Yes, you can. It has to be where there is templating language of course (you cannot put a breakpoint on a arbitrary div for example), you can also debug the rendering of the template through Pycharm if you want to in order to have a full stack debug, but I'm used to doing that using the browser developer tools.
Re:Django: Fix a view using a debugger with breakpoint() on Monday December 02, 2024 @05:56AM (#42294936)
Well, as previously stated in Pycharm and Visual Studio (not tested on others) there is. If I remember correctly, both will install their requirements remotely and then allow you to do so. However, I would not recommend it:

- you will probably forget to clean up after the fact leaving you with both performance and security problems

- you should never debug in production, use something like Sentry instead also, better to replicate the production environment in a sandbox (either on your machine using Vagrant or Docker, etc. if feasible) or in the cloud by taking a snapshot of your production environment and using it as a sandbox to debug (and then of course destroying it after use).

Re:Django: Fix a view using a debugger with breakpoint() on Sunday December 01, 2024 @03:48PM (#42290626)
Not trolling, but what's wrong with visual remote debugging using either Pycharm or Visual Studio? I find it much more rich information wise than using pdb.
Re:How I overcame my addiction to sugar on Saturday June 29, 2024 @07:39AM (#40829619)
Same here, m&m's are nefarious indeed.
Re:Django Styleguide on Thursday January 12, 2023 @04:11AM (#34350990)
Also, do not forget to integrate with Sentry [https://sentry.io/] or something that does the same thing.

It will also keep you sane.

Re:Django Styleguide on Thursday January 12, 2023 @04:09AM (#34350980)
If you try to keep everything in one app, you'll have gigantic views.py, models.py, etc.

Nobody wants to work with those. Also, a simple typo in those files can bring your whole system down and can make it hard to debug.

Apps, are a cheap (EXCEPT when you HAVE TO [but really, do you? Really?] move models between apps) way to keep YOU sane.

Re:Django Styleguide on Thursday January 12, 2023 @04:05AM (#34350945)
Although it goes against certain opinions AND if you set a norm for their use, signals are the way to go.

You can either decide that signals code will live in the app where the objects reside or the app of the target objects and that's it. A built-in and simple interface between objects.

Re:Fireworks Alternative for St Patrick's Day on Friday March 19, 2021 @09:27AM (#26513028)
I've always wondered if fireworks were polluting or not (my uneducated guess would say yes)... Anyway this is pretty cool!
I've decided to play it simple albeit "old school" (because Docker seemed to add its own set of headaches - also not every project needs to do micro services or work with clusters or scale):

- Vagrant (so you don't have to worry about runtime executables) with the stack matching that of the production server (you can even ask ops to provide you with the provisioning script and remove the parts that you don't need - otherwise learning to provision your dev. VMs won't hurt you)

- Virtualenv

- pip

Then simply point your IDE (I only use Vim under duress) to the remote Python interpreter (the one you installed in the Vagrant VM).

It does add processing overhead but it worked with my 2010 MacBook Pro until it died and still works (only ten times faster) with the 2016 model. Your only limitation would be the RAM (I would recommend at least 8GB and if you plan to run multiple machines communicating together as much as you can afford - I do believe that Docker has less overhead, but again, for my use, not needed).

The best practice is what works for you, not the latest trend.

Re:Start with a Website, Not a Mobile App on Friday January 04, 2019 @12:53PM (#18826056)
I did not know they made one. Thanks!
Re:Start with a Website, Not a Mobile App on Friday January 04, 2019 @12:52PM (#18826049)
Does Duckduckgo makes a browser now? Or do you mean that like most of non geeky folks you access websites not by typing an url in the address bar of a browser but instead by going through a search engine (in this instance Duckduckgo)?
Re:Ditching the MacBook Pro for a MacBook Air on Friday November 23, 2018 @05:43AM (#18515664)
Why don't you just use Windows with the included Ubuntu subsystem?

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Re:Ditching the MacBook Pro for a MacBook Air on Friday November 23, 2018 @05:40AM (#18515651)
2010 17 inches Macbook Pro. This machine is a tank. Still using it. Still productive.
The Django ORM for example.

You can ever traverse relations and still use the same syntax: https://docs.djangoproject.com/en/2.0/topics/db/queries/#loo...

Re:Giving Up on the Current MacBook Pro Keyboard on Wednesday April 25, 2018 @07:41PM (#16927485)
I'm still using/programming and typing on my 2010 17 inches MacBook Pro.

The keyboard still works perfectly whereas my acquaintances that have bought newer models have had the keys falling, failing, discolour and whatnot.

That and the ineffable mate screen and screen size.

I've changed the memory, the hard drive and the battery to keep going and it's still going, albeit with more fan noise.

I'm really afraid/don't want to switch to a new/lesser MacBook Pro.

Re:How Apple Alienated Mac Loyalists on Wednesday December 21, 2016 @07:45AM (#13228641)
>Smaller but hi-dpi, and with far greater color accuracy and brightness. Also, you can hook up an external monitor, apparently lugging 17" beasts around wasn't popular enough to carry the models forward.

Size on the screen does matter, I'd rather the screen do the work than my eyes.

With a 17 inches I don't need to hook up an external monitor. I am able to work at full proficiency anywhere.

>Actually way way more. Less varied ports (basically 2 types: 4 USB-C and 1 headphone), but way way more I/O power and connectivity.

If you don't mind paying for and carrying around a dozen dongles. Also no ethernet port. And you're forgetting about the ExpressCard slot...

Re:How Apple Alienated Mac Loyalists on Tuesday December 20, 2016 @07:01PM (#13225548)
Also @beat forgot to say "matte display". MATTE. Mine is a 6 year old 17 inches MBP and I still use it for everything.

It's still current. I can also rip CDs with it (it is handy children) :)

I've even found a VERY simple way to dual boot Windows 10 on it after trying to get the instructions I found everywhere to work (after Apple made sure it was indeed difficult).

I even play games on it.

To me it was the reference developer laptop and still is.

I would pay as much as $5000 for a 17 inches Retina Matte MBP, the same SSD speed as the TouchBar models, the Pascal chipset, an 8 core i7 and 64GB of RAM and I do not think I am alone in that category.

Re:Starting a real business on Wednesday December 14, 2016 @08:34PM (#13181576)
How about EURL or SASU?
Re:Ask HN: How many of you have paid for sublime text? on Friday November 25, 2016 @06:22PM (#13040622)
I've paid for it. On the principle that if I were to put out a good product in the world, I'd like other people to pay for it too.

That being said, I still use it for a quick syntax aware editor, as a glorified buffer/clipboard or to open big files.

I've tried too. The only thing that works is to turn off sound before shutting down your MacBook.

Older »