HNHacker News
TopNewBestAskShowJobs

winter_blue

3,025 karma · joined November 13, 2009

submissionscomments
winter_blue··on Spotify Will Keep Remote Working
Is there really that direct of a relationship between hiring and interest rates?
winter_blue··on Spotify Will Keep Remote Working
> she's seen more recruiters being hired

This is a good sign for the whole industry at large, considering how bad the tech job market has been for the last two years.

winter_blue··on Taiwan is heading toward an energy crunch?
With regards to “live free or die”, I’d say it only makes sense if the enemy want to genocide you. Like in the case of the Nazis, I would say fighting them is best (if you’re not “aryan”), since they’d murder you anyways.

But you have to be intelligent about it in other circumstances, and consider whether it’s actually worth throwing your life away, if the enemy isn’t genoicidally murderous like the Germans under the Nazi party.

Consider African Americans under Jim Crow laws — should they have fought violently? That only would have led to them murdered, even potentially in large numbers. African Americans have survived in the U.S. and not been mass murdered partially due to not fighting (and also by moving to more hospitable areas during the Great Migration).

To quote https://www.theatlantic.com/magazine/archive/2014/06/the-cas...:

>It was in these early years that Ross began to understand himself as an American—he did not live under the blind decree of justice, but under the heel of a regime that elevated armed robbery to a governing principle. He thought about fighting. “Just be quiet,” his father told him. “Because they’ll come and kill us all.”

Basically don’t fight the enemy that’s enslaving you, unless you’re strong enough to win; otherwise you endanger suffering ethnic cleansing / genocide of your people.

winter_blue··on Pledging $300k to the Zig Software Foundation
Are you referring to the Zig compiler switching to become self hosted [1], or the Zig website switching to becoming self hosted [2]? (I assume the latter.)

[1] https://kristoff.it/blog/zig-self-hosted-now-what/

[2] https://ziglang.org/news/migrate-to-self-hosting/

winter_blue··on The Liberating Experience of Common Lisp
All of this late binding, and needing a runtime, seems to suggest even a JIT LISP implementation (e.g. SBCL) might not be able to achieve performance similar to a "zero-cost abstraction" language like Rust. When you're in debug mode (e.g. with C++ or Rust or a JVM language), there's a bunch of debug info added to the binary plus various optimizations are turned off. I'm sure some optimizations that C++ / Rust / LLVM use involve entire eliding classes and other abstractions, so that an "O3" release-mode binary doesn't even contain any cruft. There's an argument to be made for this approach, at least for software that's run on customers' computer. For server side software, I can see why having always-available debuggability is useful.
winter_blue··on The Liberating Experience of Common Lisp
> Once tripped, you can expand each element in the stack to see and inspect the variables local to that function.

When a breakpoint is tripped, with most modern IDEs and languages, you can see the local stack, global state (and pretty much all state), and this state is presented in a UI with dropdowns, etc. Debuggers in modern IDEs also let you evaluate an expression in place, where the breakpoint was tripped, so you can further dig into the local state with a debugger. This sort of works like a REPL (but you're "sort of" limited to a single expression -- but that's something you can still circumvent with an immediately-called lambda).

>You can then edit the source for that function, compile only that function in place, then resume execution.

This is supported by some languages, but admittedly support for this varies widely, and sometimes can be weak or finicky. For example, the JVM family of languages have a feature called HotSwap. This feature is quite old: https://www.jrebel.com/blog/java-hotswap-guide -- it was introduced in 2002 with the Java 1.4 JVM. I use it even today, with personal projects, where I update the code of a running server live (without restarting the server).

HotSwap unfortunately sometimes is broken with certain major JVM frameworks, but for my personal projects, I've always made sure to only use libraries that work well with HotSwap, since I consider live code patching of a running server to be an absolutely important feature.

>the "esc-." method of going directly to the source

To be honest, I'm not entirely sure what you mean here. When I'm working on a project (as in, I have an IDE open for it, and I'm writing the code for it), all the code is right there. When I use a debugger, I can see the stack of all the ancestral functions, and with a single click I can go to the definition of any function. Static typing basically makes the "Go to definition" more precise, as it always jumps to the place in the code (file & line) where any particular function or value is defined. With dynamically typed languages, an IDE can sometimes show you multiple option when there's multiple functions with the same name defined in different places.

>These three things are all done from the REPL. I don't have any experience doing C or C++ from a REPL.

Most of the features I've described above work with C and C++ IDEs (like CLion, Visual Studio, etc), except for the live code hot swapping -- I've only used live code patching with JVM HotSwap with Java, Kotlin, etc.

winter_blue··on The Liberating Experience of Common Lisp
> Three things are killer features for me with the slime+emacs running sbcl. First is that you can see the underlying source for anything down to the lisp implementation, e.g. the definition of 'macrolet'.

If you’re working on a project (on its code), then you can (obviously) see its code as well.

Statically typed languages make exploring the code a lot easier, especially with an IDE which leverages the type information to assist in code exploration.

> The second thing is if there is an error, it displays the stack with the ability to see what the local variables are in any function on the stack.

This works with debuggers (and is easy with an IDE) in most popular languages.

> The third thing is that one can patch a running program, either once a breakpoint ('break) is encountered, or by doing control-C at the repl. And then resume it.

You can do this with most major languages today as well.

winter_blue··on A Time Consuming Pitfall for 32-Bit Applications on AArch64
I wonder how vDSO works for an x32 ABI program (ie a program with 32 bit pointers, but access to the rest of the x86-64 feature set).
winter_blue··on Project Hammer: reduce collusion in the Canadian grocery sector
> Decades of awful immigration

Care to defined "awful" here? Is this an euphemism to refer to non-European immigrants?

Canada has done very well with immigration IMO. A far more sensible and welcoming system, and most immigrants integrate and do well in Canada pretty quickly.

winter_blue··on Windows NT vs. Unix: A design comparison
> I’ve used a pretty old 16-bit DOS app on Windows 10: a C compiler for the Intel 80186

It’s amazing that stuff still runs on Windows 10. I’m guessing Windows 10 has a VM layer both for 32-bit and 16-bit Windows + DOS apps?

winter_blue··on Tell HN: Burnout is bad to your brain, take care
Thank you. This is a good reminder.
winter_blue··on ReMarkable Paper Pro
The duty on tablets & e-readers in Canada is 0% regardless of which country the tablet / e-reader was made in, according to: https://www.cbsa-asfc.gc.ca/travel-voyage/dte-acl/est-cal-en... (there's a specific duty category for tablets and e-readers)

Sales tax is 13% in Ontario, so even with that, the exchange rate should be 1.35 * 1.13 = 1.53 not the 1.60 exchange rate they use. I'm assuming shipping is already included in the price in the US as well, and shipping cost in Canada shouldn't be that much different compared to the US. I guess if the cost of shipping is higher in Canada, then that explains the USD-CAD conversion jump from 1.53 to 1.60.

winter_blue··on ReMarkable Paper Pro
I don't get why the Canadian price is CA$929 when the US price is $579.

That's an "exchange rate" of 1 USD = 1.6045 CAD. That is a far cry from the actual exchange rate (which is 1 USD = ~1.35 CAD).

And ReMarkable isn't the only company selling products at rip-off pricing to Canadians.

This absolutely sucks.

winter_blue··on Zen, a Arc-like open-source browser based on the Firefox engine
I use Firefox a lot (and occasionally Chrome), and I haven't had any issues with Firefox. I've been pretty happy with it.
winter_blue··on Show HN: Wd-40, a static webserver with automatic hot-reloads
This is pretty cool. I have two questions, regarding the mirroring:

1. For the mirroring, are you using something like rsync (with modifications for the web socket script injection) underneath? Also, will the mirroring reflect destructive changes (like rsync's --delete flag), like if a directory or file is deleted in the original content directory?

2. Could you avoid mirroring the content directory, and just directly serve the original content directory, by just simply on-the-fly injecting the relevant script tag in text/html files? (Or, only mirroring those text/html files, and serving the remaining files from the original content directory.)

winter_blue··on A cryptographically secure bootloader for RISC-V in Rust
The overhead is for doing computation (fr cryptographic hashing). No language has zero cost computation. Rust advertises what’s called zero-cost abstractions; which is a major improvement over many languages where abstractions can be expensive.
winter_blue··on Can reading make you happier? (2015)
What about those books made you happy, specifically? Could you distill it down to a set of points or aspects or ingredients? (Which, if another book series possessed, would make you happy as well.)
winter_blue··on US solar production soars by 25 percent in just one year
So the only practical near-term effect the tariffs have is increasing the cost solar adoption.

Incentives would have been better than tariffs to boost U.S. solar manufacturing.

winter_blue··on Node.js adds experimental support for TypeScript
Flow (by Facebook) used to be fairly significant in the JavaScript several years ago, but right now it's somewhat clear that TypeScript has won rather handily.
winter_blue··on General Theory of Neural Networks
This is a pretty cool theory that resonates well with me. What are some good places I can read more about this (and related theories)?
winter_blue··on Proton launches its own version of Google Docs
Oh wow. Wouldn't this make it easy for someone to just use/fork the code here to create a competitor?
winter_blue··on Supreme Court overturns 40-year-old "Chevron deference" doctrine
It’s partly (1) due to the structure (or rather, flaws) of the US constitution, (2) a ridiculous senate rule, and (3) gerrymandering as others have mentioned.

On (1): needing the approval of the senate, house, and president makes it very hard to pass laws.

On (2): the senate rule requiring 60% approval has already been repealed for appointments and for budgetary legislation, but it really needs to thrown out. The first two years of Biden’s presidency were mostly lost to obstructionism because of this rule.

On (3): this will most likely be banned if democrats get a trifecta federal control, and repeal (2), since gerrymandering primarily just benefits republicans.

winter_blue··on Show HN: Lady Deirdre 2 – Rust Framework for Compilers and LSP Servers
This is awesome. Thank you!
winter_blue··on Internet Archive forced to remove 500k books after publishers' court win
> If Star Trek Replicators were invented today, we're so stupid we'd outlaw them.

Something like this already happens with housing and NIMBYism.

winter_blue··on BYD achieves 1,300-mile driving range with latest PHEVs
81mpg is extremely impressive. The best MPG cars available in North America top out at the high 40s and low 50s. 81mpg is +30 over the Prius.
winter_blue··on The Linux kernel giving CVEs to all bugfixes is sort of predictable
Hopefully with better LLMs, the patent office can judge patent applications better, and search for prior art better as well.
winter_blue··on Anti-municipal broadband budget amendment gets nixed in New York
Absolutely agree. Utility company lobbyists in California recently ruined net metering (with something called NEM 3.0 that cuts solar benefits down by 75%), and wrecked the solar industry in California in the process. Nothing has been done to resolve it yet. The corrupt officials in this case were members of the California Public Utilities Commission, who are appointed by the governor. They put the interests of some greedy utility companies (who, on a different note, have caused many forest fires) above the interests of the people of California, the environment movement and its impetus for green energy, etc. It's a sad and horrible state of affairs.
winter_blue··on Show HN: My $1k self-install, off-grid solar backup build for renters
Wow, California’s NEM 3.0 seems absolutely horrible. I hope it gets repealed.
winter_blue··on Show HN: My $1k self-install, off-grid solar backup build for renters
It sounds like the author of this piece lives in a jurisdiction without net metering. (The UK, perhaps?)

If you have net metering, being able to push power back into the grid is a major plus.

winter_blue··on Google's Chrome antitrust paradox
> They often spit out a semblance of the spec, and enable it by default almost immediately.

On the flip side, standards committees can be painfully slow.

Can anyone explain why DOM access from WebAssembly hasn’t even been specced out yet (let alone even implemented) despite years and years (approaching a decade) of discussions around this? Like, seriously, what is going on with this?

← PreviousPage 4 of 34Next →