skysight-inc/HackerNews huggingface dataset:
Thanks – the question I had was answered in the "Bytecode" part of that section: https://deepkit-book.herokuapp.com/deepkit-book-english.html...

My summary is that the DeepKit compiler is a JS transpiler (used as a ts-node or webpack plugin, or conveniently/invasively as a replacement of node_modules/typescript) that produces code like this:

//TypeScript
export type TypeA = string[];

//generated JavaScript
export const __ΩtypeA = ['&F'];

//TypeScript
function log(message: string): void {}

//generated JavaScript
function log(message) {}
log.__type = ['message', 'log', 'P&2!$/"'];

Where '&F' and 'P&2!$/"' are the compact bytecode translations of the types ("&" means string, "F" means array) and '__Ω' is a prefix used to avoid naming conflicts.

Personally, I'd love to see a live example of code in & compiled code out on the homepage. I'm sure it's on your roadmap :)
Time to ditch Android? Most-wanted WhatsApp upgrade finally comes to iPhone
For a corporation that is flush with cash, Detroit is potentially a good buy with long term potential. A 50 year timeline is not unrealistic.
Don’t really see the relevance here? America is also more expensive than the majority of the world. I’m not comparing the wealth of impoverished people to the average American programmer. I am comparing the wealth of Coinbase employees to the wealth of the Coinbase CEO, whose company is successful only because of those employees. If the American programmer is global 1%, then Armstrong would be global 0.001% so the inequality isn’t changed.
I used to hang out a lot on bimmerforums.com
Some videos have ads as part of the video. Can't do anything about those, sorry.

I'm talking about the videos that have YouTube ads embedded within them that interrupt the video while it's playing.

That trick also appears to work for some pay-for-view websites (as do 'archive' and '12ft ladder' work for some websites). Again, I don't have enough items to prove it and I can't remember which website it was that I tried it on when it worked.

I boycott websites that demand money. "Plenty more fish in the sea."
This is the most fundamental tenant of capitalism. The output is perpetually distributed according to initial risk taken, not according to amount of day-to-day work performed. The property of capital is that it keeps growing (more or less) effortlessly. So you just need to capture initial capital and pay employees only returns from capital, not the capital itself. Fun fact: Bill Gates has made vastly more money just sitting around in his "retirement" than working his ass off for 30 years in Microsoft every day.
Individuals that are psychologically well formed don't feel the need to make verbal insults. Taking away their freedom of speech is inconsequential.

Those who care about free speech should make studies and develop techniques to mass educate those about compensating that issue at the individual level.
Air pollution takes 2 years off your life, more than smoking or alcohol
I find lobste.rs discussions threads to be often dominated by dismissive and arrogant "elders", which tends to suppress any desire to participate in them. Still visit it for the links though, but the overlap with the HN and programming-related reddit subs is, unsurprisingly, quite significant.
Right. Then HTTP requests being share-nothing they horizontally scale in a single instance, too. Just spin more cores.

This microservices craze has been mind-boggling. As for many other fashions, it’s excruciatingly difficult to make young or even average senior devs understand it’s bullshit at 90%.

When Netflix does it and the self-appointed expert bloggers praise it, as a CTO or team lead you’re pretty much screwed.
Tiny observer for the attributes of Python objects
I bought a device from Best Buy and it arrived on my porch within 3 hours of my purchase. It was quick enough that even if I don't always receive orders that fast, I'm more inclined to check their website now instead of just defaulting to Amazon 2-day shipping.
Even if sperm count doesn't impact overall male fertility, the fact that sperm count is declining potentially indicates some type of endocrine disruption. Also, your comment kind of glosses over the fact that though-to-be cause hormonal interference were found at levels 17 times what is considered safe in the median sample from the study.
Have used multiple monitors with latest KDE, and never had an issue with display scaling - both fonts and icons look good, whereas in MacOS fonts are just terrible on external displays, so far tried 23" 1080p, 27" 1440p and 34" ultrawide 1440p with the same result.
And KDE also allows changing external display scale, where MacOS only offer setting lower resolution, seriously, wtf?

That's a pity that in year 2022 apple sells notebook with only 16GB of RAM for $2000 and there is still no adequate alternative for the macbooks in terms of hardware, battery life and driver support.

MacOS feels so limited compared to KDE, even base functionality like alt+tab that shows windows previews(and not icons), or window arrangment with keyboards shortcuts or by dragging to the display corners, is not possible without 3rd party software.
Once you understand how the industry churns and burns and doesn't really give much credence for capability as you age - it becomes disheartening to try and want to be an IC. Most people see the writing on the wall for being an older IC therefore they move into management or product or other roles.
Taleb has a more succint way of putting it[1], but no it can still be luck just like hitting black in roulette several times in a row can also be luck.

[1] https://mobile.twitter.com/nntaleb/status/153417277358051328...
No. The rock is worth vastly more to the owner than the cult which is why they won't sell it. However, the value is intrinsic... it's priceless. It's worth infinitely much to the owner regardless of how much anybody else thinks it should be worth. Therefore, it's impossibly to tax the owner infinitely for their intrinsically valuable rock...
Start with a simple HTML template called with 'theirname.html'.
Add a JS loader: <script src="theirname.js"></script>. Load that page in browser; bookmark it. (Easy access!)
Now whatever they edit into theirname.js will 'run'
when they reload the page. e.g. alert('Hello World!')
When they're ready to add an image, time to learn a little HTML ;-O
On most shared infrastructure would be even harder to exploit. In an ideal world you are sharing the infrastructure to maximize CPU and other resource utilization. When running workloads on VMWare for example, the best practice is to disable deep C states and not allow the CPU to dynamically scale down. This prevents all kinds of clock drift issues in guest VMs that expect a CPU cycle to be relatively constant.
not OP but I've always lived pretty much the same way without being wealthy, walk in the park costs nothing and even a nice bottle of wine isn't really expensive.

The high stress lifestyle is definitely a choice. Fancy car, fancy house, posh neighborhood etc aren't necessary. If you live modestly you have plenty of time and leisure. I spent some time living in a Kibbutz in my 20s and while you have to work it never felt stressful or like a chore or as if you're defined by it.

These days as a dev in particular, you can take on a half-day job move to a cheap place in the country with a nice community, you have as much control over your time as you want.
People will buy houses next to an arena, airport, or pig farm and then complain about the noise, traffic, or smell.
True, it's not in the poorest of European countries, so maybe "very very poor and depressed" is not accurate. I feel it is a lot poorer than it should be though and whenever I visit Glasgow, Edinburgh or Aberdeen they don't feel vibrant and alive, they feel depressed, like everybody who wants to make a change has left.

The oil situation is definitely worth talking about. Not because I think the English should give the oil back, but because it's an example of what the problem is. There will be other oils in the future.
The way the oil wealth has been extracted is how England plays the game. English companies and english investors take the lion's share with tax revenue and even oil flowing south of the border to be refined. I would be willing to wager that London did better out of North Sea oil than Edinburgh ever did. Of course they spend money on social services in Scotland all the while claiming that the Scots are lazy and tight fisted and could never manage their own affairs. If England wasn't running things up there the whole place would fall apart. It's the same story they have used everywhere, from Ireland (lazy drunken Micks) to India, the Caribbean etc etc. I just found out yesterday that the term "welch" as in to renege on a promise just means Welsh as in to be from Wales. Slightly ironic given how the English are welching on their international commitments in Northern Ireland.
They make money when trading volume is up. Trading volume and BTC price are pretty much directly correlated. Trading volume is way down.
The end state of crypto is the currency of illegal transactions, which are never going away.
Why are you seeing ads? Is your adblocker broken?
I imagine they do own significant amount of crypto. Also, less people are buying as the price dips.
That helps with memory mappings, but it doesn't help with file descriptors -- you still have to be careful with those.
I'm confused by this statement. If I buy shares from a company, that company has more money to spend on growth/bonuses/whatever. If I buy shares from another person, that person has money to do things with. I don't see how there is even a thing such as "parked in shares of a company"; it doesn't park there, it is immediately available for investing in other things.

Now, the money could sit in the bank, sure. But even then, the vast majority of the money "in the bank" is actually being lent out to other people, who spend it.

So unless the money is literally sitting in a vault, it's not "parked" anywhere.

I'm very open to being corrected here, so feel free to do so. My understanding of economics is decidedly limited.
First thing comes to my mind turning cash to asset to stay stronger against economy, maybe Elons twitter bet was the same idea
I think shared libraries can spawn threads on their load/init phase that you don't know about. Then you are hosed but you only know about it due to sporadic weird problems, that if you restart on failure, e.g. a pre-forked worker scenario, you might never even really care about.
You are right: https://www.youtube.com/watch?v=fSE_Nm7pAw4 - this video from bigclivedotcom shows the unique failure of a usb-c power supply that also took out a MS Surface and associated monitor with it.
Nothing wrong with that. I managed 7+ Sensu "clusters" at a previous job, and it's stack was a ruby server, Redis and RabbitMQ. But I completely ditched RabbitMQ and used Redis for the queue and data. Simpler, more performant and more reliable (even if the feature was marked experimental). Our alerts were really spammy, and we had ~8k servers (each running a bunch of containers) per cluster, so these things were busy. Each cluster was 3x small nodes (6gb memory, 2CPU) Memory usage was miniscule, typically <300mb. Any box could be restarted without any impact because Redis just operated in (failover) mode and Sensu was horizontally scalable.

I get why you would add a relational DB to the mix. Personally, I'd like a Rabbit-free option.
The authors show increased depression risk in the 90 days PRE-exposure (before starting treatment). To me, the authors seems to have dangerously misinterpreted the data. It could easily be the case that a depression diagnosis leads to seeing a psychiatrist and deciding to treat their underlying ADHD with methylphenidate. How could being about to go on methylphenidate in the next 90 days possible be the cause of depression???
That was speculation by a doctor who hasn't treated her. Timestamped link: https://youtu.be/DdPmmlvhpHk?t=694
Yes. Letting them start over on something completely different is indulging sunk-cost fallacy. People were hired on the strength of being able to build X. If they are not who you would have picked to build Y, then getting them building Y anyway means you start out with a broken leg.
The problem is that writing a parser for a file format as complex as PDF in an unsafe language is just asking for trouble. There were many exploits already that involved a specially crafted PDF file to gain RCE, and there would probably be more, unless they do rewrite it. At this point we should just accept that it's next to impossible to write a 100% safe parser in an unsafe language.
> If your code isn't running in an environment where other processes from untrusted sources are also running, these timing side-channels and their mitigations are irrelevant.

And then you put 'mitigations=off' in your kernel command line and go on your way. I do it for all my BOINC compute nodes, because they literally have nothing sensitive on them.

But remember, L1TF/Foreshadow could reach across virtual machine boundaries. It's not just inter-process speculation that's a problem.
I’d love to see Ben partner with a smart tax/finance guy.

His analysis is interesting, but very slanted with the tech business viewpoint. The cringy canonization of Uber back in the day is a great example. IMO, these machinations by Amazon are probably more about financial engineering than anything else.

Amazon has a good distribution network, but Shopify, Walmart and Target seem to have found and are competing successfully at Amazon’s weak points. Many people I know pivoted to Target for consumer staples vs Amazon. You can have anything they carry in about 30m. Shopify seems to be the place for sellers who want to protect their brand and avoid being ripped off within days.

Not sure why Ben cares about an Amazon truck vs UPS delivering stuff he’s probably alone in that.
Scientific computing codes generally stick around a while

I don't think this is generally true and wasn't at all true in my limited exposure to scientific computing. There's lots of one-off, ad-hoc code that isn't building the next BLAS or whatever. The whole trope of 'scientists are terrible programmers' doesn't come from some universally prevalent incentive to write general, long-living code.
The Epistemic Virtues of a Closed Mind: Reporting in the Golden Age of the Con
Every soccer league is on a different provider. I'm in Canada. The Premier League is on DAZN. MLS is on Apple TV. La Liga is on fuboTV (or Amazon Prime). It's all the same sport. Multiply that by X if another family member is interested another sport. I don't know what the future holds, but the sports entertainment fragmentation might be hurting more than helping. Perhaps Apple is on their way to consolidate.
Yes, it is terrible and it's the main reason I'll never be doing any Java, ever again. I did 10 years up until Java 6 (or so) and then jumped ship in favour of Scala (at that point.) Now, Scala for sure isn't perfect and Java isn't terrible, but mainstream Java really is.

My point, though, is not to throw up all over Java but rather to quibble with the statement that Java has somehow evolved since then. It really hasn't!
Well I appreciate your commitment to your position, but that’s patently absurd.
Employee benefits are routinely taxed differently. Health insurance, 401ks, some meals, etc.

Most likely, it'd be considered a "fringe benefit" and the employee would still have W2 / income taxes and withholdings on it. How municipalities would tax the property value depends entirely on how they choose to tax on-site housing (as it is technically both commercial and residential space).

Maintenance on the buildings would likely be partially deductible as operating expenses, no different than any other building operated by a landlord or business.
As decentralization has shown in crtocurrency, it doesn't produce anything inherently valuable, just what the median person in a geographic area has determined best.

Unfortunately, it's a delusion to believe republicans actually believe small government is better except in the sense they can corrupt it, Control it and bias it as they see fit.

The benefit of centralization is that it isn't given to the whims of some random gunmen or January 6 type treachery.
JS is probably one of the worst languages for a beginner

Its execution model (single threaded, libuv callback scheduling) will be extremely difficult to understand without some OS background knowledge. It's also different than almost every other mainstream language so it's not even transferable

Its tooling beyond the browser console is still awful. Good luck explaining ESM/CJS and transpliers to a beginner

It has a non-existent stdlib compared to other libraries so you have to explain how to use npm/yarn/pnpm, how to pick the right package, how to resolve paths to them, and eventually bundle them with webpack/vite/snowpack/etc...
The point isn't that their infrastructure is more reliable than yours, but that it's decoupled from yours. If you run your monitoring on the same infra as production, it's liable to go down when production does, i.e. just when you need it most. This is a real reason to outsource monitoring to a SaaS, just like there are real reasons to self-host.

I mean, obviously they chose to address the segment of the market they could get more money out of first; I'm not contesting that. But the bit you quoted is low-grade bullshit at best. Hardly award-winning.
Surprising it took that long to look at sound when exploits on hw LEDs was a thing decades back.
If anyone is wondering, Mintlify is not open source: https://github.com/mintlify/mintlify/blob/main/server/LICENS...
Annecdotally? The condition. It was actually the opposite of what you described. Getting diagnosed in early adulthood was actually a huge weight off my shoulders, because I suddenly understood why I was struggling and had a path forward for seeking treatment. Prior to that, I was just drowning and overwhelmed, and I didn't know why. It felt like nothing I did helped and I wasn't making any progress towards my goals. I felt like I was barely a functional adult. It felt terrible.
I feel like if you want to teach people C, you can do that without starting with Python at all. But if you want to teach about programming and software, it helps to start with C and then you want to move on to languages that people will use to build applications (Python, JavaScript etc). That's why the order works out that way, not because something is "up" from something else.
Compass has been in "get big quick" mode for a long time, outspending what is rational for their industry as a way to buy their way into position. Redfin is almost the opposite, focused on cutting down commissions without understanding why agents have to get their 2-3% to stay solvent - and underestimating the skill and knowledge it takes to do real estate well. Also, Redfin is rolling out new programs to partner with traditional agents, so some of this could be simply a shift in their model.
I read the title as "Writing a single player game" and was utterly confused by this comment. Damn you brain!
I think you have a severe problem of digging into things too deeply.

This is purely semantics and your proclaiming some odd propaganda angle. Which is a bit odd really. The article/title is 100% accurate. They are quietly buying thousands of acres of land because they're not going around and talking of their masterplan. They're just doing it without saying anything.

Just because certain information is public for those who seek it out, it doesn't mean it can't be done 'quietly' by the company. Like I say, it's semantics.
you can install this stack without kubernetes no? I don't see anything k8s-specific
Right, and there would be exceptions made for edge cases like "someone uncovers a hidden treasure trove" or "oil is discovered"

https://news.ycombinator.com/item?id=31745780
Maybe you could have got worse without the meds.
I'm confused by this post. Do you believe that quote is some unique "East" perspective, or that there aren't people in the "West" doing the same thing?
Someone earning more doesn't hurt me.

Someone taking the wealth that other people have produced with their labor is not earning, though. And a lot of us do think that earning 300x what the average worker does is a physical impossibility.
I’ll shoot my shot here, know of mid level remote backend opportunities?
> We could have a serious discussion about why women's sports exist at all, rather than just the open class. And that would bring up questions of just what makes women women -- it goes far beyond what's between their legs and even in their endocrine systems.

Right, for pro-level sports, you could have all sorts of metrics to qualify people into different competitive categories, regardless of sex. Formula 1 vehicles all have to meet extremely tight regulations, and motorsports in general could be an analogy of how to draw boundaries on metrics to elevate fairness.

And I agree that overall, this "issue" catching publicity (because of how it is presented, and the sorts of reactions it can provoke in people) seems designed to draw negative attention to trans folk. I want to say "aren't there way more important topics to be worried about?" but that's not for me to decide. Trans athletes aren't going to sit around and accept being marginalized when they want to compete like other athletes.
Microsoft Band! He did a variety of stuff on the team, including some parts of the underlying runtime and also our build system. He added 3rd party compiler support to Visual Studio long before they officially supported it. :)

> (and slightly depressing know I'll never be any where near that level).

Randy is very persistent. That Quake demo was 2 years in the making, and that was after he'd already spent over a decade writing low level code.

Highly optimized code is a matter of time, time, and more time. It is a thousand little improvements that get you towards your goal.

If you want to learn to write that type of low level code, and it is very rewarding, Pick up an embedded board like an ESP32 and go have at it.
The overview links to the book. See: https://ggplot2.tidyverse.org/

> ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics.
OK you can have the Sudetenland! (please stop there)

OK, you can have Czechoslovakia! (stop there, please)

OK, you can have Poland.

...France?

You see how this doesn't work anymore.
Real estate speculation is the bane of modern society. A land value tax is sorely needed.
Who is in charge and what is the agenda in reporting this?
Loans got me into journalism. Student debt pushed me out
Given the potential serious, life-changing adverse effects that persist even after stopping use - no thanks. Just cut your hair short / shave your head.
> how we got absolutely owned by simple fuzzing

> You are reading part 1, wherein we build up our hubris.

Props to anyone willing to own their faults this readily:)
I wonder what the result would be in terms of lower life expectancy for European, pre-medieval homes where a wood fire was constantly burning within the home—-frequently in the center of the room with only a hole in the roof to allow smoke to escape. That had to be worse by comparison.
If there was fair taxation on billionaires, and there was a wage growth where all the productivity gains didn't only stay at the top, then I think folks would be less incensed at billionaires.
Any suggestions for getting this done? In a similar boat looking for some safety net. Are you describing overworked?
I took it way too late and it didn't really help. I shaved after and I'm really happy with that decision.