skysight-inc/HackerNews huggingface dataset:
I also find operator precedence quite easy to implement.

In my parser, when it encounters two binary expressions `a * b + c`, it always initially parses them as `a * (b + c)` into temporary AST nodes. Then it compares the precedence of the operators and, if needed, rewrites the nodes to form the correct expression.
I thought it was like art deco but art acco
Extremely implausible.

The anti-nuclear movement wasn't driven by money. Still isn't. The organisations that wanted nuclear power used money, the ones against used people's time.

https://www.sueddeutsche.de/image/sz.1.3984639/1408x792

>1% of the population attended that demonstration, and demonstrations that big matter. But they're not a matter of payment. People weren't paid to go there, they didn't even have their travel costs reimbursed: You can't reimburse 100k people and hope to keep that secret. You can't even reimburse the ~5k organisers.
Fly has a nice DX but unfortunately the platform still has major issues with reliability and networking. There are often problems with deploys leading to stuck and unreachable instances or other networking issues. It's probably exacerbated by the new user growth but the slick deploy workflow can't override having an app that works.

Render and others are interesting but K8S is still fundamentally better considering all the DX progress there making it pretty easy to get a container running in a cluster.
> I’ve seen this attitude transcend multiple continents and generations - ones born in Africa from Asian parents migrate to Europe and then raise their own children in the USA but those kids still identify more heavily with their grandparents asian home country.

Immigration is not one-sided (=the immigrants have to assimilate and that's it) like the far-right wants - the majority society also has to do their part in integrating immigrants. At least here in Europe, wherever you look immigrants face massive discrimination: they have it vastly harder, even after multiple generations, to find jobs [1] and housing [2] simply due to their migrant-heritage last name, they have a harder time in schools [3], in social life... it's no surprise that immigrants prefer to turn to their ethnic community as a result, furthering segregation.

[1] https://www.zeit.de/politik/deutschland/2017-09/diskriminier...

[2] https://www.sueddeutsche.de/leben/gesellschaft-auslaendische...

[3] https://www.zeit.de/gesellschaft/2018-08/rassismus-schule-me...
> this might be as good as business projections get

It almost seems like weather reports. Anyone can make a good short term forecast by looking out the window, but the amount of complexity, uncertainty and variables going into a long term forecast makes them almost pointless. Which is where Excel comes in I guess :-)
It is weird to rrad that pensions or benefits are paid by companies, not independent pension funds or the state. I have read enough news titles about companies in the US that have gone bankrupt and people have lost their pensions.

The thought that someone works at one company their whole life abd gets their pension from there also seems archaic that
ioredis and mysql2 have been working for some quite sometime.
Wow - this looks great.

What's the tech-stack for this?

Other than WebGL - what do you use for the UI?
Experimental replication shows knives made from frozen human feces do not work
+1 this is what I do as well. If you have any semblance of uniformity in your project folder structure, you can even automate the build/deploy process with a simple shell script/bash function.

Of course, this quickly stops working once your small projects grow to have multiple collaborators, a staging environment, etc. - but at that point you're running a proper business
Maybe they don't want people using it as an abbreviation for As Fuck. high.af
A few weeks ago there was a link paper by an green energy investment advisor firm posted on HN. It displayed the economics pretty clear. Depending on location, a battery with capacity up to 6 hours can be economical viable as long they get a full discharge (ie they sell all the energy) each day at peak price and can charge when the price is at the bottom. It depend in location, how big the difference is between bottom and peak price, and how long that the price sits at each price point.

For wind all those assumptions are wrong and thus won't work. You do not get a daily discharge where you can sell all the energy, you don't get a significant price change each day where you can utilize the price difference, and the capacity needed is a few orders of magnitude greater. Green hydrogen is one of the bigger bets people are hoping on, and right now it only cost several times more than nuclear. Except rather than using nuclear countries are burning fossil fuels because that is cheaper, and thus coal.
You seem confused - the it clearly refers to what he said in the previous para, namely that investors haven't been paying attention to what those companies actually do. That rarely ends well indeed, especially during times of rising interest rates.
Ban Spying on the Internet Privacy Campaign
You may be doubting if your comment was actually useful: thanks for posting it, for not discarding it.
Also it works with colorblind people. This way they can choose the color combination that works for them.
That’s a lie. The official freeze for new features started in 2017 and customers can see themselves by reading the changelog.
One fork always wins. Once it wins it has network effect and which brings massive security to the that fork and so it is not the nature of Bitcoin to split into obscurity as you seem to think.
Local authorities in the UK have a legal duty to implement a food product inspection scheme. It's regulated by the Food Standards Agency. And yes, the labs used are independent.
Many software companies are a joke
It's not just Google sadly - Microsoft had that before them (in every single version of Windows you had to get used to a new UI in the file explorer), and even Mozilla likes to tweak the UI of Firefox to death. Actually Google Chrome is better in this regard. Sure, they add new features too, but those fit in with the rest, and the design changes are gradual (less disruptive than Firefox' "our tabs now look like buttons").
Depends how you define high refresh rate. By regular e-paper standards the tech it has come quite far but still below the 60Hz you get in any cheapo LCD tech.

Also, the faster you refresh a e-paper display, the power consumption can even surpass power efficient LCD tech so it's just not viable in that case unless the panel has the capability of partial refresh but even then it's not ideal for consuming fast moving content.

E-paper displays are power efficient for static images (books, price tags, advertising, notifications, etc) but if you have to refresh them fully several times a second, the power consumption goes through the roof (moving the e-ink particles around in their pixel compartments requires more effort than rotating LCD crystals/OLED).
Isn't that kinda counter intuitive compared to what e-ink was originally made for?
Orange juice has the word orange in it.

Oranges are orange.

Orange juice is yellow.

The orange package is good. The yellow package is bad.
Home Automation That Is Local, Reliable, Fast, and Private
The Linux Kernel Backdoor Attempt of 2003
Your romantic view of this site is unfounded. At least the comment you complain about had an argument you can respond to. All you've done is tersely generalize.
Can we fix bearer tokens?
usually, we just presume the strategies were stored in genetic level.
While I really like Kotlin in general, I'm not a fan of this feature. It feels like unnecessary syntax sugar for functions that accept multiple parameters.

Replacing a function call `foo(bar, baz)` with just `foo()` by bringing `bar` and `baz` into context is not meaningfully better in any way. I'd even argue it reduces the readability of the code due to implicit receivers.
Such transitions translate quite poorly to e-ink devices, which have a limited pallet (1--16 greyscale shades, typically, or a desaturated colour palette), and high refresh times, from 0.25 to 4 seconds, depending on devices (most seem to accomplish 0.5 -- 1s at higher-quality modes, which includes colour).

Because of falling prices, improved battery life from e-ink displays, bright-light viewing advantage, and an increasing backlash to dopaminergic Web and app design, e-ink is seeing increasing appeal and use.

Oddly, what most suits e-ink devices is literal page-based navigation. Not scrolling, not pop-ups, not slides, not animation, but a full-page transition from previous to subsequent state, much as one would turn the page of a book. The limitations and ambiguities of scroll-based navigation in particular are addressed by this.

Pop-up elements are a possible exception to a full-page transition, as many e-ink devices can repaint portions of the screen. But even here, the less animation the better, and the key issue is to clearly indicate that a pop-up has occurred, and where it is, usually by clearly indicating both borders and any interactive elements of the pop-up itself. (Memo to designers: "flat" and low-contrast design fail at this tremendously.)
Coal extraction infrastructure hasn't been shut down in Germany. The open pit lignite strip mines are still swallowing up new towns and forests.
That’s kinda why Tesla is doing what it’s doing. I’m not sure the exact production, but it looks like nearly 4 GWh in fixed storage last year, and at least 50 GWh (0.93 megacars * 54 kWh smallest battery) in their cars required the ability to rapidly make factories that can make batteries that could also be used in grid storage (I’m assuming making the batteries is the hard part of both electric cars and grid storage, if I’m wrong about that it breaks my argument).

(And inter-season storage is too high a threshold: not many people are living in the artic/antarctic circles away from grids connecting them to places that still get some sun even in winter).
The modern JS tutorial is indeed a very good and comprehensive resource.

For all its qualities, Eloquent JS is not a very beginner-friendly book. For a smoother learning curve, you might consider https://github.com/thejsway/thejsway.

Disclaimer: I wrote this book.
In the UK the government tests each food product? I doubt it.

The website suggests random inspections. Just like the US does.
Usually the first signs of having too low albumin in the blood (due to either eating too little protein or insufficient albumin synthesis in the liver or bad digestion of proteins or malabsorbtion of aminoacids in the intestine) are bilateral oedema of the legs, i.e. large swellings of the feet and lower legs, which become very large and spongy.

With even lower albumin in the blood, the pressure becomes so large that the lymph (i.e. the water) begins to exit the legs through the skin and the condition can become life-threatening, so the low albumin must be corrected by providing intravenous albumin and the primary cause for having low albumin must be treated.

I have seen all these symptoms when my mother had for a few months malabsorbtion in the intestine following some difficult surgery and a time of intensive care and IV feeding. Discovering the precise cause of the low albumin in blood was quite difficult, but it was important. The medical doctors who treated her would have been happy to just give her permanently IV albumin, until death, but this was not really a sustainable option (both due to high cost and because it would have tied her to a bed for a large part of the time), so the real cause of the low albumin had to be identified and corrected.

Too high albumin in the blood would have the opposite effect, by extracting the water from the tissues into the blood vessels. Presumably, if external albumin is added as in this experiment, the liver will diminish a lot its albumin synthesis activity, to keep the right amount of albumin in circulation. This might also have some influence over the lifespan, not only the existence of supposedly better, young albumin in the blood.
In Buddhism we might say, the immense complexity of emptiness, or the dharmakaya
“Make it nicer and we'll come back.” Oh boy, there’s so much wrong in that attitude!

Anyhow, some advice from Amsterdam, NL (yes, the country of decriminalized marijuana and legal prostitution): we pay taxes and a significant portion of it — less so as the conservative government tries to shore up waning consensus with spending cuts to sustain windfalls for its constituency — goes to social programs aimed at housing homeless, supporting the addicted (often by addressing the underlying mental illness or trauma), managing dysfunctional families (which in several cases can be a bit paternalistic, but it also helps contain spillover to the previous problem class), helping sustainable employment.

Now, conservatives have systematically eroded all this societal infrastructure, but most of it is still here and it does help avoiding the situations you strawmanned.

Society is not a zero-sum game, it’s a force multiplier.
Red Hat CEO: Remote Working: The new normal for IT starts with open source
Right, but traditional LTO is for static linking. How would one even do LTO with a shared library?
Completely unproductive comment teasing an old pointless flame war.
apply and call invoke a function with a specified receiver object, and arguments.

bind creates a new function that is bound to a specified receiver.
How does it compare to, say, a remarkable tablet? I found the latter great for writing and reading well-formatted pages. But reading a typical whizzbang webpage or using an app to be painful. The lack of a mouse made life particularly difficult.
- fossil fuels are used for Bitcoin mining
- Bitcoin mining needs a stable source of energy to run 24/7, something you won't get from eg a single wind mill
- building and maintaining renewable energy sources still has an environmental impact, the energy would be better used by something else than Bitcoin
- making chips and PCBs is an environmental disaster, the fact we are making so much useless ASICs is horrible

Some industries are more polluting than others, but we should be doing everything in our power to reduce the pollution. Bitcoin (POW) is intentionally wasteful.
Yes. And there is a growing number each year.
Came here to say this. I'm starting Emacs only after a reboot, who cares if it takes 3s or 30s to launch (mine around 5 or so.)

Use emacsclient if you want to use it as $EDITOR.

https://emacsredux.com/blog/2014/12/23/uptime/
Russia can't defeat NATO.
in france we've had (in 1963!) a re-evaluation where 100 old francs = 1 new francs ; obviously older folks kept talking in old francs but what i found funny is that in some families, children born after 1963 still learned to talk in old francs!
(Wind + batteries) wasn’t something I saw in what I linked to, so in this sub-thread I’m focussed on (PV + batteries) even though the link said the LCOE of onshore wind (by itself) was lower than that of coal.
Oops, you're right about the etymology, I was just misremembering.
Why I’m So Bloody Obsessed with Free Speech – Jordan B Peterson [video]
First thought when I saw this feature was "no please not another Scala-ish" feature. Don't like "with()", don't like scope function naming (always have to look them up), don't like functions with expression bodies (without curly braces).

These features encourage chasing after diminishing marginal return in aesthetics and conciseness, taking up developer time that would be spent better elsewhere. They are also needlessly complicating the language and IMO don't carry their weight.
React SPA front end. Hasura for GraphQL. Distributed Elixir (which Render handles brilliantly and Heroku is not even capable of). Also an old Rails app with web server & background job server.

I use RDS on AWS because I'm doing some weird stuff that Render hosted Postgres can't handle, but nor can Heroku Postgres.
...that's out of android updates as of this month.

The specs are fine, the security isn't, and that's the problem.
The email Zuckerberg sent to cut out his former coworker (2012)
Fathom takes privacy pretty seriously - they're still somewhat early stage in terms of functionality, but a great place to start.
Hey! Never thought about a neurologist! All sleep specialists have been useless. Great idea! Thank you, I shall.
Not sure how Ruby works, but can you not run the workers and the web server in the same process? In our Node.js apps, this is as simple as importing a function and calling it.
Sadly I don't think there is anything similar here in Europe that would give the same level of consumer protection though. Also convincing sellers to accept a new payment method seems a big effort that requires some time. Hopefully I'm wrong.
> I don't get why it doesn't mention if there are any other (standard) methods of depreciation accounting that are more realistic for this kind of asset

Of course there are, and they should actually be using them. But then fundraising would be harder. They are cheating on accounting, in order to raise equity capital, and hoping that the price of bitcoin will go up in the future and cover the losses.
Yes, but inside a VM. What access to real hardware (e.g. to communicate with the outside world) does the user get?
I haven't had a Facebook account for many years now, but I remember that what bothered me about their redesigns wasn't how they changed visuals to keep up to date. It was a rapid series of restructurings which meant you always felt you didn't know where to find things.
This made me imagine an educational toy that allows you to make working simple circuits by drawing: You draw with markers that have electrically conductive ink, then touch the contacts of a 9-volt battery to your drawing at a certain point and a bulb or LED that you've taped to your drawing lights up. Maybe you'd supply prefabricated stickers that contain logic gates that you stick to the paper where you need a gate.
Really enjoyed reading this!
The problem where it messes up precedence if you already use parentheses, so that you need to add more parentheses to the substitutions, reminds me of the problem with one common explanation of CSS specificity. Simplifying the model a bit, specificity is a tuple of (id, class, tag), so that `#foo #bar` is (2, 0, 0) and greater than `#foo .baz` which is (1, 1, 0). Well, some tried saying “treat it as a number”, leading to 200 and 110, and you can clearly see which number is bigger. The trouble with that approach is the numerical base: no number of classes will outweigh an ID, so (1, 11, 0) is not greater than (2, 0, 0), but if you want to represent it as a three-digit number, well, you’re stuck. Just like you can here add more parentheses to the substitution to keep it working, you could increase the numeric base; e.g. at this point hexadecimal would still work, 0x1b0 < 0x200.

Not sure exactly what to call this category of limitation, but you see it in diverse places where people have designed things without considering the upper limits of what they can cope with.
Yes, but the article should have also mentioned that the new design was pushed through by an overconfident star designer, that's definitely part of the story.

Regarding the actual design, sure, a nice fresh-looking orange is more enticing than a glass of orange juice, but I didn't even recognize that big orange blob as orange juice in a glass from the picture in the article, and I doubt consumers in a supermarket (who usually only see one side of the carton) would have recognized it at a glance. So you have generic-looking sans serif text beside a generic-looking orange blob. Doesn't sound like a recipe for success...
I think docker-compose is pretty good at this. One advantage is that you get a development environment and a production setup in a singe config file.

I feel like this setup might make quite a lot of sense if you have a bunch of micro services that are small enough that they can share resources.
After hundreds of years, every single thing you see or hear reminds you of something embarrassing or shameful you once did.
You should really read up on this. He explains it fairly well, and yes, money are multiplied with fractional reserve banking. Since the bank only needs to keep a fraction of the money they owe to account holders, they can loan the rest out. But the point is that this loaned money ends up on some other customers bank account, possibly with the same bank, and can thus be loaned out again. So in a 20% reserve requirement situation, _the same money_ can be used to finance the building of five houses, not just one which it would be if the reserve requirement was 100%.
A quarter to a half million USD a year? Wow, must be nice. Good on ya.
As explained in the article profits are frontloaded, so the company currently looks better than it should.
Everybody uses it, so there must be a reason it is needed /s
There's probably a lot of people that have worked from home for the last couple of years without even realizing their bluetooth mic sounds terrible. It's also hard to find bluetooth headsets with mics that work in wired mode.
> They both involve exactly the same function table lookup, and execute against data that's somewhere else.

It's not that it's bound vs. unbound, it's that you passed it somewhere else so the call is necessarily dynamic. It would happen with non-method functions also. (In neither case is there a "function table lookup" - that's rather if you call through an interface / generic dictionary.) A bound one would be even more expensive because you also have to allocate a closure for the receiver.

The point is: You want some non-compile-time behavior, whether that's a function or field access, you're going to pay more. That time, not regular field access, is what should be compared to reflect performance.
In some alternate dimension where wind power didn't exist, yeah, that could easily work.

In this dimension, EVs that charge during the midday solar peak and overnight from wind will make an important contribution to rolling out reneweables, cheaper energy and ditching oil and gas.
French language Kraftwerk? :-)
There is a ton of projects like this, all open source and free to selfhost: Plausible, Matomo, Offen, Posthog, Goatcounter, Umami. Or the built in analytics of the static site host like vercel/cloudflare
Lower noise is not going to do much.

Most of the noise in a modern camera at 'high' iso is present in the light signal you are capturing, rather than the result of a noisy amplifier.

Light (the arrival of photons at a pixel) is approximately a poison process with the brightness being the arrival rate of photons.

At low brightness, short exposure time, the variance in the total photons received at a pixel starts becoming relevant and visible.
A non-techie relative started writing a long paragraph about her problem, thinking the good Doctor was going to understand it like a real therapist/human, and got miffed when she couldn't type beyond 255 characters...
What I didn't do to write a book (2017)
If you want to make an e-ink laptop (with more functionality than a Kindle), you're going to need to handle scrolling, cursors, or motion of some kind
Thank you for giving me the opportunity to showcase my JS canvas library, Scrawl-canvas[0], the aim of which is to help developers build responsive, interactive and more accessible canvas-based demos, infographics, art etc for their websites.

While the library is entirely 2D-canvas oriented and doesn't use any ultra-new tech like WebGL (or even less-new tech like web workers), it does play nicely with WebAssembly-ported tech such as ML models from MediaPipe[1] and TensorFlow...

[0] - https://scrawl-v8.rikweb.org.uk/

[1] - https://codepen.io/kaliedarik/pen/PopBxBM (Warning: demo will request to use your device's camera)
I was able to catch all spam comments by adding textfields for "title" and "body" hidden by CSS which would always be filled in anyway by bots but not humans.