News for hackers. Stuff that matters.

e_proxus

Re:The absurdity of renting a car will no longer be tolerated on Monday December 27, 2021 @05:23AM (#29701229)
The key is preparation. It’s the same for me at hotel check-ins. I’m always prepared, I have all my info available in my mobile or on paper, I’ve already thought about the trip several times before and on the way.

Some people seem utterly unprepared. They either don’t have their info at all, or have to login to their web mail, or find some printed paper at the bottom of their enormous suitcase. And then they tend to have tons of questions. I check out the facilities beforehand online so I know what to expect and how to use them.

The problem is, it doesn’t look anything like the system UI either. Just because it is using a native toolkit doesn’t mean it automatically looks good or integrates well.
Re:Sublime Text 4 (Build 4126) on Tuesday December 21, 2021 @11:35AM (#29639019)
Not really. There is an “unmaintained” paid plug-in (unmaintained in the sense of not being updated since a year and advertising compatibility with Sublime 2 and 3 only).
In Europe it usually is, until proven otherwise. At least in the first year (and for some classes of problems, longer).
It’s not the only risk. What if OP had fallen asleep while listening to music? Then there would have been a real risk of the house burning down.
Re:President Daniels responds to Chinese student's harassment on Friday December 17, 2021 @01:53PM (#29596599)
It’s also quite ironic because they seem to claim that because their page is full of tracking cookies (what other reason to cite GDPR?).
Re:Building a PS1 style retro 3D renderer on Monday December 13, 2021 @05:57AM (#29538496)
The Chameleon is another recent stealth-game that has PS1 inspired aesthetics: https://www.merlinogames.com/the-chameleon
Re:Packaging for instant coffee made out of seaweed on Sunday December 12, 2021 @03:09AM (#29527945)
You can get them in stainless steel too, e.g. https://www.paperandtea.com/products/p-t-infuser
Re:Faster Gitlab CI/CD pipelines on Friday December 10, 2021 @02:15PM (#29514198)
Here’s an example of how to enable caching in GitHub Actions:

https://gist.github.com/eproxus/d74315864fd6897bb47741e8de5b...

The example is a bit Erlang specific but the cache action it contains is quite generic.

Re:Two lines of CSS that will improve HN on mobile (IMO) on Thursday December 09, 2021 @09:01AM (#29497389)
- 'parent' goes to the comment that is replied to

- 'prev' / 'next' goes to the adjacent sibling comments

- 'root' goes to the top level comment in the thread (not the post)

They are very useful on mobile if you're deep in a thread, and want to go to the next top-level thread. To do that, press 'root' and then 'next' (or collapse it with [-]).

It’s a bit unclear, but I read it as that they thought not many people outside the US is aware of the bias inside the US.
Re:Estonian winter 1, delivery robots 0 on Saturday December 04, 2021 @09:56AM (#29441197)
I wonder what legal ramifications would be if you run them over while they’re on a pedestrian crossing. They probably wouldn’t count as human at least? Destruction of property?
> They will when they're threatened by a gang of police officers.

At least that's better than normal people having to put up with that and pay for it. Now on to solve the next problem with police...

Raycast has this neat feature called Navigation → Search Menu Items which is essentially the Help → Search feature of macOS.

However, you can bind it to any shortcut, so binding it to Cmd+P would give you a command palette in any app (and then you can exclude e.g. Sublime Text/Merge who already have their own palettes).

Re:Linus on Line Breaks (2020) on Sunday November 28, 2021 @02:10PM (#29371855)
I’m in the same boat. I’d rather have more views than longer lines. Currently have a file tree, three editor columns and one terminal column.

Keeping to a shorter line width makes me write shorter functions with less nesting. In my opinion that leads to higher quality code which is more readable (your mileage may vary, I write Erlang which is very terse and expressive which fits that style very well).

Re:The Toit language is now open source on Tuesday November 23, 2021 @09:03AM (#29317895)
Nerves (or Erlang’s VM BEAM) is nowhere near small enough to run on ESP32. I think a comparison is not very useful.

If you have an ESP32 you need something like Toit, if you have a Raspberry Pi you might as well run embedded Linux (with Nerves on top).

Re:Firefox 94 has No Visible Border on unfocused tabs on Thursday November 18, 2021 @03:22PM (#29270009)
Here's my version for Windows. It keeps the window buttons and removes the empty space on top.

https://gist.github.com/eproxus/f95c2d2bd0f9b8f5d2b6f464e27c...

Actually, that would almost approach some "real" value for NFTs...

Let's say you have digital artwork in a lossless format. You then take the world by storm with the compressed version. Everyone loves it. You sell an NFT with a hash/URI/encoding of the original uncompressed version encrypted so only the owner on the blockchain can decrypt it.

Needlessly to say, this would only work for digital art that is compressible. The owner could perhaps prove that they really own the original by showing a differently compressed version of it.

That's also the beauty of Fast.com, that it uses the Netflix content servers as benchmark and not some ISP edge hosted Speedtest server with special priority.

That gives a more realistic expectation of how Netflix, and in this case Apple downloads, will actually perform. And it can't be artificially boosted by the ISP.

That being said, I assume both Netflix and Apple have very special CDNs with ISP co-located content servers in many cases so it is still not a realistic measurement of generic Internet performance (but Speedtest is even worse, so ¯\_(ツ)_/¯)

I do the same nowadays. I spend extra time learning the defaults (muscle memory etc.) in my OS and programs, which is about the same effort as customizing them (if not less).

The difference is that when setting up a new environment it costs nothing. If I had tons of tweaks and custom scripts that would be a setup cost every time.

Re:SDL gets an Epic MegaGrant to work on next-gen Vulkan API on Saturday November 13, 2021 @06:26AM (#29209066)
Couldn’t #2 shaders be compiled once and shared between users? A game could compile them on first run, submit them to a server with a unique hash of the OS, driver and shader version (and what else). Then other users could download the already compiled shaders if there’s a network connection. If not, you simply compile them anyway.

If security is an issue (can a shaders be dangerous?) you could wait until you have X copies of the same hash and verify that they all have compiled to the same code before adding it to the online cache.

Developers could even pre-compute such shaders for popular GPUs that they have access to.

I always remember glxgears running at hundreds of FPS and it being used as a poor man’s benchmark. Perhaps this has changed of late though…
Re:Write thin to write fast on Wednesday November 10, 2021 @03:00AM (#29172212)
Sublime Text has a Distraction Free Mode which goes to full screen, removes all GUI and centers the buffer contents on the screen.

It’ll use your buffer settings so if you’ve configured Markdown to only be 60 characters wide, it’ll look like the photo in the article.

Giant app developers do complain about it (see the ad tracking debacle). That hasn’t stopped Apple in the past.
Re:macOS Monterey on Tuesday October 26, 2021 @05:46AM (#28998324)
Is there a way to force apps or links to open in the current tab group?

I often find myself clicking links from apps (e.g. Slack), then keep working and loading project related sites. After a while I suddenly have 12 tabs open in the default tab group that all should have been in the project tab group.

It’s not very visible which group you’re currently in. When it switches group from under your feet I often miss that and keep thinking I’m in the old group.

Re:macOS Monterey on Tuesday October 26, 2021 @05:37AM (#28998268)
You could even swap the key bindings to make it the default, by going to System Preferences → Keyboard → Shortcuts → App Shortcuts.

I do this to swap the shortcuts Reply and Reply All in Mail.app as well, so that I always reply everyone when pressing ⌘R.

See https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac

Re:Adopting Erlang on Saturday October 23, 2021 @04:27PM (#28971921)
I work on GRiSP. It’s really close to being done. We’re wrapping up the software (e.g. updating drivers for the new platform) and are doing a lot of testing at the moment.

We are using the first boards from the final batch for this, and I really hope we can start shipping soon.

Re:Amazon warehouse employee in Poland dies at work on Wednesday October 20, 2021 @02:09PM (#28933909)
Is it though? If it is your team lead who apparently has the managerial power to deny you a medic, they certainly should also be required to be competent enough to make that decision.

Anything else is just an accident waiting to happen (and in this case, did happen).

Older »