skysight-inc/HackerNews huggingface dataset:
Ethereum is also part of the shitcoins given the ridiculous amount of premined, but their marketing is considerably better.
> How long will it be until there is an ad that makes it confusing how to dismiss it and uses a police siren to get your attention?

When I was in high school, the local radio station played a siren as part of the intro to their traffic update segment. Being a high schooler, I naturally had my volume cranked up pretty high - leading to at least a once-a-week near-swerve on my way to school as the segment began.
Hmm, it was built on Intel though (GitHub Actions macos runners are only Intel)

But maybe some other part of the toolchain (Gradle, GraalVM native-image) was implicitly ad-hoc signing it
Ah good point, thanks
I cannot imagine putting up with this. I would rather mount a bluetooth speaker on the dash.
Really it depends.
It still opens a separate window, unfortunately.
I don't think this is a very good argument... I want my car to be as quiet as possible, on terms of the noise it makes and it's soundproofness. That making people harder to hear outside is irrelevant, as I mainly use my eyes to scan the environment for people, not my ears.

Also I think we've done enough damage to the world with the (British accent) "what about the children" arguments...
One problem is it's notoriously hard to get subjects to follow a diet and accurately report it. Due to both practical and ethical constraints you can't keep human subjects locked up and eating only what they're allowed to eat. I think this goes a long way to explaining all the conflicting results out there.
Is rubber considered a microplastic?

edit: oh no, tyres use 24% synthetic rubber (which is a plastic polymer) :(
I think this is a bit of an overstatement. In my experience — I'm an athiest who doesn't follow any particular religious rules either, but I was raised Orthodox Jewish — most Orthodox Jews do truly believe in God, and believe that at some level they'll be punished for breaking the rules and rewarded for following them. It's true that teenagers who haven't yet left home might be going through the motions cynically — when I was in high school, I was — but that's generally not true of adults: if you don't believe, when you leave home (either for college in the US, or army in Israel), it's fairly easy to "fall off the derech" and stop practicing now that you're free to find your own community. That might not be true in some of the ultra-Orthodox communities in Israel that are exempt from army service, or the Yiddish-speaking communities in America where there's a language barrier preventing you from interacting with the rest of the world, but for most religious Jews there's a pretty strong element of true belief. Religious Jews are a pretty tiny minority in the world; if you don't believe, it's pretty easy to find something else to believe in or to have a community around.

> I think about it like following requirements set by certain certifications. Not all requirements make sense in every context - sometimes you may feel silly complying, knowing you're doing it just to check a box, even though there's no practical value to it. But there is a value to passing the audit and getting the certificate saying you comply from EY or whoever, so you abide by the requirements, even when they don't make sense, so you can show your ~Kosher~ ISO certificate when you need to.

In general there are a huge swaths of rules in Judaism that are expected even within Orthodox Judaism to serve no practical purpose, other than simply God (supposedly) said to follow them. If you believe that God said you can eat a goose, but you cannot eat a stork, why is it any more ridiculous to believe God said you must not light a fire on Shabbat? It's all kind of silly unless you believe in the fundamental premise that these are rules from God, in which case none of it is silly. In the Orthodox communities I was raised in, the idea of a checkbox that you feel silly complying with didn't really exist: either you believed in the premise that God really wanted you to check those checkboxes, or you didn't, at which point why were you not eating shellfish or driving on Shabbat?

There are social norms too, of course. But at least for religious adults, in my experience it's mostly uncynical.
Hashing is the easy part and because it is not reversible miners waste energy looping and trying different nonces so you get a hash with the required amount of zeros.

For my is just like a brute force password try-loop with a hashing in between. And that is the whole science XD
Dynamic linking is a Windows term (thus .DLL). In Linux (and *BSD) the same concept is know as shared libraries.

If you force everything to be static in a system then yes - You need to statically link everything you need into your interpreter too. Things are going to grow in size a lot (and spinning up your interpreter will take longer time too).

I personally think that shared libraries are the way to go in most cases. And there are distributions which handle this quite well. Of course simplification and general gravity towards minimalism will help too.

Using FFI is extremely handy (very fast to experiment against some dynamic library when the need arises). I personally think your point is perfectly valid.
We're not having a climate crisis. If you think I'm wrong, please say what you see in your area that's justification to say there's a crisis.
That's normal in any large event. People don't understand what is going on or which way they should and shouldn't go. They can also be moved by the tide of people, unable to go any other way, and may be safer where they are. As the article says, police blocked some escape routes. So it goes down to good design, good procedures and matching attendance levels. Something went wrong there.
>this is as untrue as "Year $YEAR will be year of Linux on desktop" was so far (posting from laptop running Linux)

This will be untrue when linux will have noticeable* share of installs. Not just you and some other tech guys who amount to grand total of 2-3% of desktop systems.

[*] - at least 10-15%.
"China" doesn't achieve anything.

The CCP lowers the living standard of both owners and employees forced to work towards its political goals.

Considering that the alleged CCP's strategy is well known, foreign buyers can bite the bucket and make long term commitments to alternative (non-China) suppliers. Larger ones could acquire stakes in alternative suppliers.
What if that commenter doesn't live in the US..? I find the presumption aggravating
It means an advertisement disguised as a news article.
Huh... websites. What a great idea.
What consumer issue is solved here?
> The other canonical example of OO - "Shapes" - doesn't actually work well at all.

Shapes work quite well with OO if you design the heirarchy right using is-a relationships, the typically cited problem involves applying is-a relationships which apply to immutable geometric concept of shapes to mutable representations whose mutation contracts don’t support the is-a relationship of the immutable shapes. This would actually be fine if the contracts were written in a way which respects the it's-a relationships properly. E.g., the common Circle-Ellipse problem goes away if the contract for the mutator for, say, the major axis of an Ellipse doesn’t specify what the effect is on the minor axis. For the base class, the two can then be independent with the Circle subclass having them invariably equal under mutation.

Alternatively, its not a problem with a Smalltalk like “become”, in which case an unequally stretched Circle becomes an Ellipse with appropriate attributes.

Or, the mutable elements arr restricted to things thst don’t change the shape like scale and location, and shape transforms return a new Shape; if Ellipse’s StretchMajorAxis returns an Ellipse and so does Circle’s, there’s no problem, either.
If I understood them correctly, they store all the training samples and then select one most similar to a given input.
Puts into perspective how expensive car bridges really are.
Only because most models focus on functionality, not on timing.
> I'd be shocked if it took off.

Its not about taking off - it's about having an alternative that is available even if it's just for 0.01% of users.
India has been doing this since Nov-2015, when the central government made it mandatory for road-layers to use plastic waste. As of Oct-2018, 100,000 kms of roads had been constructed using plastic waste.

https://swachhindia.ndtv.com/plastic-waste-roads-one-lakh-ki...
Charlie Munger calls BTC disgusting and contrary to the interest of civilization
Ask HN: Looking for Advice from Women Leaders
I’m looking for candid advice, especially from women in leadership. How likely is it for a woman to successfully be in a leadership position, for example a COO? I know there are examples of it, but what's the average experience?

My story for context: I’m a 34 year-old woman in Australia, no kids. I’m a strategist and experience designer with nearly a decade experience in a US-based tech company, a funded startup, and a national corporate. I’ve built teams, designed brands, launched products, and set up operational rhythms.

I’ve been working towards and want to be in a leadership position. I’m strategic, sensitive, dedicated, and a natural leader. I care deeply about workplace culture, and had a lot of success when I was 2nd-in-charge at the funded startup.

However, I’ve struggled to be taken seriously by those above me. For example:

- discovering I was being paid less than my peers despite working much harder,

- getting asked a lot about my ‘life plans’ when talking about future projects,

- working in a strategic position and being asked to take over a junior project, or

- getting inappropriate comments. Things that are hard to respond to or derail your presentation, like “Oh, you like pastries? You should try this local baker. In fact I’ll take you, the croissant will give you an orgasm” in front of the leadership team or “mid-30s? Really? I thought you were so junior!”

So now I’m looking at what’s next and ask myself: what’s the likelihood of me actually getting and succeeding as a COO or senior leader? I’m being offered some more executional and consulting roles which might be less strategically fulfilling, but I’ll have decent pay and work hours that might be more accommodating if I did want to try and start a family.

What I really want is a leadership role, but I’m wondering if that’s possible.
100 years from now BitCoin will be seen for what it really is - the computing icing on top of the large excrement cake that is our industrial civilisation.
Perhaps we need a version of FOSS for insurance then. However there is far too much legal red tape in the insurance industry, and it is certainly not a free market where disrupters can enter easily...
Ask HN: People who enjoy coding in free time, what does your process look like?
Do you have particular snacks? Do you take your laptop to a public place with wifi? Is there some kind of ritual that gets you into the mood to write code?

I don't program in my job, so coding in free time has been a wonderful creative outlet. These past few weeks, however, have been a slog to open the IDE; often distracting myself instead with watching edu material on writing better unit tests, binge reading HN, etc.

One new habit which has somewhat worked was inspired by Neil Gaiman's writing process (ie. sitting in a quiet place where the only two choices are to write or do nothing until boredom inspires writing) - I've started sitting at home, without music and with a notebook, where the only two choices are to do nothing or write pseudo code for the immediate next exciting feature.

As you may have guessed, at this moment this new process isn't quite working; curious to hear from anyone who enjoys coding at home / in free time: what does your lifestyle around those programming hours look like? Thanks!
Per app restrictions only make sense with a strong sandbox (like Android). You can otherwise trivially get around something like little snitch by asking a trusted application to do something for you.

Edit: Say you're playing around in Python repl. You enable it in your firewall. Now I just have to shell out to "python -c 'import requests; requests.post('my-innocent-app.herokuapp.com', ...)'". With a little more work I could do something like LD_PRELOAD.
Well i'm also posting from a PC running linux desktop. But i can deal with it. The vast majority of consumers can't and will not. Also, if i had to create a desktop application, i'd target windows/macos primarily, as most other developers do.

And even though those pure linux phones exist, they're hardly usable. Sure, it's just the beginning, given time it will evolve. But the problem of effort disparity will inevitably manifest itself again, and you'll get 1000s of distros to choose from and none will stand up to to that single android device.

> It is not always necessary to win completely and crush competition to reach goal

I agree. I like to run for the fun of it and don't care for racing. But if you're going to compete directly against android phone or a windows desktop, you have to play to win.
It's "Entity Component System". The "system" is part of the pattern name.
i mean, the name says it all.
Another orthogonal aspect with modern hardware is the increased amount of parallel execution. Most of the standard programming languages are not really designed to support this well. So we use extensions like CUDA. But this is not really general purpose but only for GPU.

Once we reach maybe 100 cores, or 1000 cores, or some orders of magnitude more cores in the CPU, we have to have better general purpose language support for this. Most memory is local for some subset of cores. There are warps which execute the same code (SIMT).
> I don’t see a solution to this.

User testing. Making user feedback the key driver of UI related decisions.
It's a reference to a pg essay: http://www.paulgraham.com/submarine.html

The part introducing the term is at the beginning:

"Why do the media keep running stories saying suits are back? Because PR firms tell them to. One of the most surprising things I discovered during my brief business career was the existence of the PR industry, lurking like a huge, quiet submarine beneath the news. Of the stories you read in traditional media that aren't about politics, crimes, or disasters, more than half probably come from PR firms."
I'd much rather use any Linux than Windows 10.
Think holistically or You are not seeing the bigger picture
Find the Clue and Resolve the Challenge
> and is fast because the speedy parts aren't in Python.

Having worked months with a slew of senior data scientists, this was a bit painful. Python is so slow and those data scientists were very good at coming up with solutions for the issues of the company, but the implementations (using Spacy, Pandas and other libs) had enough Python in them to make them not practical for the company use case. Nice prototypes which I then had to fix them or even rewrite to C/C++(we worked Rust as well to try it out) to make them usable in the company data pipeline.

I think companies are burning millions (billions in total?) on depressingly slow solutions in this space by throwing massive power at it all to make them complete their computations before the sun dies out.

Example: we needed a specific keyword extraction algorithm for multiple languages; my colleague used Spacy and Python to create it. It took a couple of seconds per page of text; we needed max a few ms on modern hardware. He spent quite a lot of time rewriting and changing it, but never got it under 1s per page on xlarge aws instances. My version takes a few ms on average executing the same algorithm but in optimised c/c++.

Sure we could've spun up a lot more instances, but my rewrite was far cheaper than that, even in the first month.
Structs are easy to envision as a repeating pattern tessellating across memory space; it makes slicing regions of data and bulk memory copy (e.g. DMA) easy.

Yet if the algorithms mostly work with subsets of those fields then a 'column database' type of data layout clearly has benefits.

Though for the complex case I would prefer more syntax sugar from the language.

A "column struct" datatype that might include tuning suggestions for stride, size, etc; but would present a simple interface for humans. Given multiple underlying blocks of records a parallalizable foreach style loop might even shard across NUMA distributed threads if supported at runtime.
To me it sounds more like "cargo cult" (the software variant) than hacking. There's something, in this case a set of rules, that cannot be removed or modifed but nobody knows exactly why. They just keep following it and inventing costly hacks to keep the system running.

You either follow the spirit of the rule or you don't. This sounds like the "hack" of christianity: live a sinful life and then repent on your deadbed.
Storing a number of the order of magnitude of n! will take the same amount of memory than storing a permutation of n elements, so what's the point ?
How is this even an issue? I just can’t imagine many Australians going to India to work since it’s a much poorer country. Like, it’s hard for me to believe there’s more than 100 Australians who did that. And they can easily quarantine that many people. The article makes it sound like it’s a huge number of people they’d need to build facilities for which seems super strange.
>Hashing is the easy part and because it is not reversible miners waste energy looping and trying different nonces so you get a hash with the required amount of zeros.

The above is massively computationally expensive, hence why it's not a fallacy.
There will also always be a horde of developers who mistake normal users' lack of understanding for what's going on and an inability to see the direction this is taking us in with consent or even enthusiastic assent.

Paraphrasing upton sinclair: It is difficult to get a man to understand something when his stock options vesting depends on his not understanding it.

See also: privacy, right to repair, app stores with 30% markups on in-app transactions, intrusive advertising, the death of journalism, internet connected lightbulbs, bitcoin CO2 emissions, electronic voting, etc.
I'm not saying founder ability is the only consideration. There's plenty of other factors - timing, market size, team, etc. Those are things that can be improved with skill and practise. I'm just saying luck - something that can't be improved with experience - isn't a significant factor in my opinion.

I'm not suggesting that poster above is saying this, but I have found a lot of founders who fail say that luck is important, while a lot of serial entrepreneurs say luck isn't a big factor. On some level it might be the case that people use luck as an excuse for their failure because they're unwilling to be introspective enough to work out a more tangible set of reasons why their startup failed. On the other hand, maybe the serial entrepreneurs are just lucky and like to say it was actually their skill instead.
Then, to suggest an extreme and unpleasant scenario (sorry), a Jewish man who seduced Hitler's mother on a Saturday in early 1888 (the year before Adolf's birth) might be exempted from these Sabbath rules, perhaps?
Why wouldn't a new programming language like python nowadays decide to use a Gil? I thought the point was to make the interpreter easier to write.
The problem with keto is, just like with "normal" diets is the wildly different formulations.

You can do keto with trash food or simply bad ingredients (e.g. vegetable oils for fat, various processed "keto snacks") and aside from maybe some weight loss you won't experience any of the real and sustainable benefits.

This is why you can't go with people's testimonials, I can guarantee you that people who say keto didn't work for them simply didn't know how to formulate the diet properly.
Does yours beep if you don't open the lid in a minute after it turns off?

Mine does and that is super annoying. Annoying enough that I'm thinking of removing the buzzer or just buying another microwave. I do like the simple dual dial design though.
It really shouldn't be that hard. Of course the list doesn't cause genocide. Nobody is saying it does. What somebody did is share the ADL pyramid of hate. They didn't say "this list will cause genocide", they said normalising minor forms of discrimination makes more serious ones more likely. The point of the pyramid analogy is to tell you to stop climbing it. It doesn't say that you will keep escalating, it just says that it makes it easier for people to escalate. DHH overreacted, by claiming that meant they were accusing them of causing genocide. I previously assumed that he was deliberately misinterpreting it, but the fact that you, presumably an intelligent person, fail to see the meaning of it, then maybe he didn't grasp that either. But that's an even stonger argument in favour of being allowed to discuss it and explain the meaning, rather than banning all discussion.
Is there a blockchain for webhosting?
100k Kilometres of Roads in India Made from Plastic Waste (2018)
It’s a trade-off. Whether or not you qualify what it depends on.
Dubai Father
I, on the other hand, look forward to the day, probably not for at least 20-30 years from now, when all or virtually all vehicles are autonomous, and they're all constantly communicating with each other. Could you imagine the improvements in efficiency and traffic management? The vast reduction in accidents because someone forgot to use a turn signal or was following too closely? The marvelous freedom it would offer to the disabled?
"you can’t both sell on steam and sell cheaper elsewhere"

Actually you can, this clause only applies to steam keys which is understandable especially since when selling those you keep 100% of the profits while still using steam features.
However nothing keeps you from selling your game both on steam and epic games store while having it cheaper on egs, as any copy sold on egs will not be a steam key and therefore will not use steam features / bandwidth.
These are more like lies developers tell themselves out loud, but I have heard them frequently enough they may as well be cliches:

* You can’t write JavaScript without jQuery (this one is dying).

* You can’t write JavaScript without a framework. Doing so will just create a new framework.

* You can’t write applications or get hired without writing classes/inheritance.

* Security certifications are worthless for security hiring.

* JavaScript is slow.

* The DOM is slow.

* Virtual DOM is a web standard, not some unnecessary thing created for the React framework.

* Accessing the DOM without querySelectors is like writing assembly.

* Complaining about querySelector speed is premature optimization.

* I don’t need to performance test because my application is fast.

* WASM will replace JavaScript... any minute now.

* WASM will gain full DOM access to the containing page.
maybe it's not the job, but it's the nature of governments
> I don't understand the desire for a Linux phone as so described in the article as a daily driver.

So you are fine throwing your phone every 2 years or so once the manufacturer stops releasing updates?
Same invitation to you. Please take a glance out your window or front door and tell me the most crisis-y thing you see.
This really drives me nuts. How can it possibly be a good idea to introduce plastic in to the environment, even in the name of “recycling”? And it’s not like Dow has the world’s best record with environmental topics.
> What’s a tiny particle of plastic any different from a grain of sand?

Here you go:

> The smallest microplastic particles are capable of entering the bloodstream, the lymphatic system, and may even reach the liver.

https://www.theguardian.com/environment/2018/oct/22/micropla...

And they're -- additionally to the above -- often endocrine disruptors, carcinogenic, causing male infertility, most probably playing a role in all sorts of chronic diseases.
i have found this : http://zensites.net/fvwm/guide/ to be quite a valuable resource as well for fvwm.