skysight-inc/HackerNews huggingface dataset:
> classes already only apply to the element they are added to.

So they're IDs, not classes?
In most of the US lottery proceeds go to schools. Not sure about other areas.

Of course, the fallacy here is that dollars in budgets are fungible, and when lotteries are established municipalities often redirect the same number of dollars away from the schools into whatever pork barrel projects they like.

That way you have your cake (technically the lottery money does fund schools) and can eat it too (in reality it funds other stuff under the table).

https://www.youtube.com/watch?v=9PK-netuhHA&t=650
Fly Airbus-only airlines (Which can mean having to drive or take the train if you are at an airport where only one or two airlines operate such as for example most domestic airports in Norway).

You will never be able to get a refund for plane changes. Even airlines with no MAX aircraft of their own could operate your flight with a MAX if they use code share or wet lease.

So while you can make your risk small, you can never be sure, without accepting that you may need to turn back at the gate. But on the other hand I assume you'll be OK with flying it once it has flown for a number of million miles in a few years from now. After all, the airlines that operate non-MAX 737's for the equivalent flights will be flying older and older craft.
Author here: The reason you drag from the input rather than output is that a pin can have only one input.
It was hard to read this... You'd need to write code that produces unicorn pastries to be able to go anywhere near such numbers here in Europe..
But the saddest thing about most dev jobs is that even the outcome can literally make companies millions/billions, the devs are rarely awarded for it. Take sales,for instance. You sell a few million worth of licencing and you get a nice comp.. As a dev, you write code that speeds up a process by 20%, the company increases profit margins and you get..well, a trip to a conference, if you are lucky..
Citadel is a good example,where even devs can earn substantial amounts off successful trading strategies,but then it's still a US company with only a handful of people working for them.
Henry IV of France [1] seems a good king to me, even from a 2020 perspective.

[1] https://en.wikipedia.org/wiki/Henry_IV_of_France
Yeah, the idea that I'm going to paste code into an editor within a web browser seems really sketchy. Almost as sketchy as all those JSON formatters within web browsers.
If there's enough stuff, nature will find a way to rot it :)
> Yet another post blaming developers when it's the product managers and business development people that decide the direction of the product.

Developers on this very site will happily deliver a slow running JS Electron turd if that means that they don't have to learn a new tool or use the process that isn't "fun" to them. Blaming just the business owners when the developers themselves refuse to do their job well is a bit strange.

Kinda reminds me of life in my socialist state - everyone did their minimum to tick the box they had to do and then just slacked off the rest of the time. Everything was kinda shit but it's not like anyone got paid more to do a job well, amirite?
Had the very same experience while teach some programming intro courses for artists and designers (mostly simple python for maya/cinema 4d, and java for processing).
Learning the language is rather easy, and if you're in design you're already experienced into translating and idea between different cognitive fields.

But wrapping their head around algebra and trigonometry and making them conceptually "think" about them was extremely hard. It looked like years of rote formulas memorization and the "don't worry about why it works like that, just accept it" teaching approach took a toll on their minds.
The fact that most maths textbooks are terse to the point of being cryptic didn't help at all.
Do you mean Ethernet over HDMI? Even though there was a standard and special HDMI cables that claimed compatibility, I don’t think any devices actually implemented it. Well perhaps one device according to this security paper[1] which basically means it’s useless.

I control access by connecting a Samsung TV to my Ethernet network but keep it configured to use WiFi most of the time. I’ve never entered a WiFi password so the network is effectively disconnected until I configure the TV to use the wired connection.

The TV prompts me to use the wired connection when I reboot my router and the link drops and comes back up but I can cancel switching to wired at that point.

[1]: What the HEC? Security implications of HDMI Ethernet Channel and other related protocols
Andy Davis, Research Director NCC Group
https://research.nccgroup.com/wp-content/uploads/2020/07/44c...
Better documented doesn't mean the documentation is perfect. My experience two years ago was: You're going to have questions, and it's going to be difficult to find answers.

LLVM is not KISS. Very, very far from it.
shouldn't that be atan(1/sqrt(x^2+y^2))? In that case, I'd still use atan2 with y=1.
A piece of flavor text that inspired three and a half different cards
AFAIK this is becoming obsolete and nowadays only one embryo is routinely transferred.

Source: undergoing IVF right now. (Pretty hard on nerves, to be honest. The loss of embryos is significant.)
Logistic Regression from Scratch in Python
Assuming you mean senior jobs in finance, 100K is a sort of modal zone. You lose your personal tax allowance just above, so there's a dead zone around there. That's my guess anyway, what's the point of your employer paying 100% tax?

£500k as a salary is rare, most comp at that level is some sort of bonus.

I've heard of banks that hire people in at ordinary day rates, but then once they are familiar with the person will bump the rate to whatever.
The Chinese I have asked who learnt Simplified Chinese characters in school attest to being able to read Traditional Chinese characters with very little additional effort; or even just on the spot (say, when shopping or dining). Those who learnt Traditional Chinese characters seem to have a harder time going in the other direction. (No studies to cite; I have asked a good 30+ people at work, social circles, etc. over the years.)
what exactly is sketchy about it? code without context really doesn't have much in the way of security concern.
Hello,

I am a Ruby on rails full-stack junior developer, based in Paris. Do you accept candidate to work remotely? For more information about me, here is my portfolio, you can find my linkedin, github infos.
https://agnes-lain.github.io/cv_yizhu_zong/

Thanks in advance,

Yizhu
I'm not the person you replied to, but dryers are typically vented outside.
> Users are flocking to cross-platform apps in droves!

I seriously doubt the use of Electron is what's driving that.

And it's also worth remembering that "cross-platform" ≠ "bundle an entire web browser in the app". Qt exists, as one of many examples of application frameworks/toolkits that are simultaneously cross-platform and native.
Pauling was pushing vit C megadosing for chronic, not acute use.
4% - "risk free" the long term average is closer to 2.5-3.5%, difference doesn't sound much but the margin over inflation as a percentage makes it huge.
I picked up a React Native project for next year and am sort of terrified of what I might find jumping back into the world of JS after some time away from it.
From elsewhere on the internet (https://stackoverflow.com/questions/8954571/how-much-storage...):

"The 2.9 billion base pairs of the haploid human genome correspond to a maximum of about 725 megabytes of data, since every base pair can be coded by 2 bits. Since individual genomes vary by less than 1% from each other, they can be losslessly compressed to roughly 4 megabytes."
I have some friends who have recently started a business based on this model. They don't have a site up yet, but are doing some small scale tests in Colorado. I'm happy to direct anyone who is interested toward them.
> sofware contractors

Contractors always earn more than employees though don't they?
What is the problem? This is great for Saudi Arabia and great for the world.

Saudi Arabia has a lot of sun and they have a lot of cash. If they invest it in producing electricity using solar they can still be an exporter of energy.

Secondly, most wars in the Arabic regions and all the meddling from the USA and other countries in this region is due to the oil. Without the rest of the world's need for oil we would get peace in this region.
When I did my A-levels, we were taught to give answers as surds the exams usually asked for this when we were doing trig and it was generally accepted to give answers as fractions so I think I ended up using my expensive graphic calculator once or twice in 6 hours of maths exams.
Also standardize the composition and coloring. That's the major problem with recycling. I say transparent and one opaque variant for photoprotection.
Joshua Wong and Agnes Chow Are Sentenced over Hong Kong Protest
To me if felt that the structure is similar to Google's. If you are assigned crap maintenance task, you may stay on the same level longer than you'd want. Come up with new great projects that may affect the bottom line and suddenly people throw money and resources at you.
The Art of Electronics warns the reader in the first chapter:

> There is a tendency among beginners to want to compute resistor values and other circuit component values to many significant places, and the availability of inexpensive calculators has only made matters worse. There are two reasons you should try to avoid falling into this habit: (a) the components themselves are of finite precision (typical resistors are 5%; the parameters that characterize transistors, say, frequently are known only to a factor of two); (b) one mark of a good circuit design is insensitivity of the finished circuit to precise values of the components (there are exceptions, of course). You'll also learn circuit intuition more quickly if you get into the habit of doing approximate calculations in your head, rather than watching meaningless numbers pop up on a calculator display.
Excuse the French, but all the CSS libraries are bad because CSS itself is shit. Defending it is the classic textbook definition of Stockholm Syndrome. It is awful, disgusting, incredibly wrong and inflexible for the modern use case.

If it weren't so bad, we wouldn't be here.
> I actually don't even remember what it was

It was cancer, obviously.
Thanks for digging out the details of hit credentials. It's possible that his credentials may not be as "qualified" to make such big allegation? I don't think I can make a judgement just based on the information you provided until I know what's his real duty and his past experience are. I tend to judge just based on the information he provided. And thanks to your other information, I see the flaws :)

Here's an "expert" affidavit that shows the name (Navid Keshavarz-Nia):

https://www.courtlistener.com/recap/gov.uscourts.mied.350905...

At least I want to know whether the system is really vulnerable, since if it is, it can go either way. Perhaps this should be another thread :)
I don't know about PNAC, but MAC whitelisting is easily circumvented by scanning for the devices connected to an AP and changing your MAC to one of those.
Show HN: Organize your work and personal life
Hey HN community,

We're a small group of people (3 to be exact) who got frustrated with having our work and personal notes, tasks, files, and projects scattered all over the place.

So we decided to do something about it, or at least try!

The product is in beta, but we would love any feedback, suggestions, comments, anything that comes to mind.

Please be brutally honest :)
Nations that depend on oil for their economy are already almost universally terrible states.

Reducing their oil income will mean they are terrible states with less money to fund their terrible activities across the entire world.

If Saudi Arabia runs out of oil money, the only things that will happen is their population will shrink dramatically as the vast majority of the population, who are immigrants from the rest of the world go back to the far more populous countries they come from, and they will have less money to fund Islamic terrorism across the world, and especially in Asia, probably greatly reducing whatever efficacy these organizations currently have.
I think the Tik-Tok saga has amply demonstrated just how unprepared Americans are to actually compete purely on merit.
Show HN: Super quick estimates without spreadsheets
Just don't plan to retire, find an occupation you enjoy and keep doing it. That way the pay isn't nearly as important and you will have a better life overall.

The Japanese call it "reason for getting out of bed in the morning" and without it you die quickly.

Very few people in practice can maintain that reason without having some kind of obligations or similar to others (people, pets, plants etc) to meet. Seen many, many say otherwise, very few actually able to do it, barely a handful.
Isn't this better for the lower skilled players, who no longer get dominated by professionals?
You don't have to run it at full power, and you run it when the sun shines.
I have read about it, Charcoal is transported to the oceans, where it has a chance to get in the atmosphere again.
I have included composition in my description ;-)

And coloring, well, a part of it would be composition and the rest should IMO temporary marketing coloring on top of the base composition (i.e. paint the bottle with something biodegradable).

Color should not be part of the standard as it would make the "support matrix" unsustainable and companies should not be allowed to "pass the buck" back to us consumers.
A similar project - but much later : https://en.wikipedia.org/wiki/The_Dispossessed
We should begin to harvest the eggs and sperm (or zygotes) of the most intelligent and productive people on the planet, and then pay people to bring those children to term and raise them. It would eliminate poverty.
Not aware of book. But I often dig through source code of badger and cockroach DB.
Yugabyte has a good video series on their architectural choices.
> W.r.t. head of line blocking, all you have to do is find a website that [...] loads a hundred scripts and you can see the benefit

Ok then, I guess this answers the question regarding the other purported benefit of http/2+.
Big Tech is getting cozy with computer science departments
Well, people most likely are correct telling you to charge more. Getting clients is part of the job,if it'd be easy, everybody would be doing it.As for $0/h expectations: those people are everywhere.A few month ago spoke to one in my network. I need an app.. what kind of app? Well, not sure yet, but could you recommend someone,who won't rip me off?? Oh my...
Regarding your last paragraph "They are my friends and I should have the right to socialize with them however I want without being surveilled".
Vu.city – Vu.city. The Smart City Platform
Your opinion that CSS-in-JS is bad is just your opinion. Styled-components can do everything sass/less/postcss can and more, you don't need random binaries installed globally to transpile it to css when building, you get theming for free, it is easier to understand because you can ditch the arbitrary mappings of state variables to css classes, and even get types, it works with SSR and promotes one-file-components which is heavily used in Vue. Oh, you can even extend css syntax to fix small annoyances or add features.
Thanks for “(at most)”. But for a moment I thought that a number can not be the sum of more than 49 :-)

The theorem in the paper has an unfortunate wording, I think.
Wikipedia on “additive basis” makes it clear:

“In additive number theory, an additive basis is a set S of natural numbers with the property that, for some finite number k, every natural number can be expressed as a sum of k or fewer elements of S.”
Last I checked (circa 2017), bioplastics like PLA had poor heat resistance. This made them unsuitable for certain applications like bushings or gasket seals. IIRC "heat resistant" varieties of PLA are rated up to 120 Celsius, which is good for many applications but not all e.g. automotive seals, washers, and bearings.

Footnote: I was going to compare the properties of heat-resistant PLA to those of PTFE aka Teflon, since the latter is commonly used in heat-resistant applications, but after some Googling I've learned PTFE is not petroleum-based.
Provocatively asked: who was right?

This sounds more like an organizational problem. The project leader has to decide whether speed issues need fixing or not. If they don't need fixing, then it is indeed a wasted resources trying to do so. If they need fixing, then of course it is the task for the project leader to find the neccessary resources.

Speed issues are almost never unfixable. But, the cost of doing so might be prohibitive, usually companies deliver products which are just fast enough. The question is, with a given budget, how do you ship the better product for the customers needs? Do you want it to be fast with fewer features or not quite as fast, but having many more required features? To decide this, it is the job of the project lead, the architects and of course marketing, which has to sell the product.

And both as a project lead and a developer, I can say, it is really fun to make something faster and more efficient, but far too often there isn't the time/resources for it. Most of the time you have a customer waiting for new functionality or bug fixes much more urgently than for some speed improvements.
3 has real value 2 is a waste of time. I will state with great confidence you won't see 2 in the wild in the next 5 years.
I can say without hesitation, that that's a problem I'd like to have.

Besides housing, healthcare, and maybe barbers, everything is either cheaper, or costs the same as it is in most of Europe.
> the FAA certified the plane.

That's not how it works:

- the mfg. and ODM FAA reps submit certification paperwork to the FAA. The FAA doesn't employ an airline design team to review the schematics, etc.

- if the paperwork matches FAA regulations, then it's certified. They don't open inspection plates or walk around with a flash light and verify anything unless they have a particular reason to do so.

The FAA regulates the airline industry by receiving, storing and reviewing paperwork.

However, the submitted paperwork misrepresented how MCAS worked, stating that it met FAA requirements when the nose-down rate was actually about 4x what was documented, and was continuous rather than occurring once or twice.
Indeed. It is such a pleasure to work on purely technical challenge - no BAs, no meetings, no customers - just you and the code.
Is there an offline version of this?
You must be new here. New tech is all about connecting dots of random packages you absolutely must be using, and give a fancy name to it.
Good lucking a significant number of people to actually brith and raise these children - even for a decent income.
A complete haploid human genome is 3 billion base pairs. One byte encodes four basepairs, so that's 750MB in total; and it losslessly compresses to less than half that amount.

If you store more than one genome, any additional genome is only 4MB because human genomes are 99% identical.

So you could store the genomes of an entire city on your hard drive.
Overpopulation seems to be a root of a lot of the problems.
Airlines on the brink of bancruptcy have to refuse such orders, even if it only saves small amounts of money. And due to Corona, virtually every airline is in financially troubled waters.
This is a very good point. In many ways I feel we're optimizing complexity without solving any old problems.

We invent new problems to solve, and we do solve them, but still are left with the same old problems.
I don't understand. Why not just take a screenshot of that bit of code? That way you get the proper font and syntax highlighting, and don't get the unnecessary fake window and background. If it's too small for a slide or whatever, just zoom in first.

Also, "Codes" is incorrect in this context, and should be "Code".
Agree, an interesting observation! I wonder: Junior developers nowadays who learn JS and React as their first, go-to stack for web development, they haven't ever experienced the raw productivity of "just write php and upload it via ftp" or "just write it in rails/django and render stuff server-side".

They come to expect that all development is as slow as theirs, including frontend <--> backend apis (graphql), huge js complexity (webpack), breaking changes (react-router), etc.

I see lots of companies nowadays wanting to hire "React devs". It seems we're collectively forgetting how fast you can ship stuff if you just use proven technology. Makes me wonder where we're headed.

Maybe it'll be a competitive advantage to use old (= proven) technology in the future?
This reminds me of a comment about Creality's belted 3D printer not being able to violate the laws of physics and then someone added rollers so long prints don't fall of the bed...

Seemingly complicated problems don't necessarily require complicated solutions.

You can do three easy things. Create bigger electricity grids with more decentralized generation (the whole earth receives a roughly constant amount of energy from the sun), overproduce energy or build some storage.
In addition, solar panels can be put on top of existing infrastructure like houses so it takes no additional land.
Yes, but they're still software developers: most teams I've worked on have had plenty of contractors. It seems like the more experienced developers either stay permie and move into architecture/management or become contractors. There are plenty of "contractors in name only", too.
abc7.com changes my monitor connection to activate drm. Because of my DisplayPort to DVI adapter my screen goes all fuzzy on that website. I thought only Netflix and co. used this DRM.
What sort of workload is that going to make a significant difference to?
Sort of "the Rust" in "A piece of wood" by Ray Bradbury, applied to plastics ...
> I seriously doubt the use of Electron is what's driving that.

It is indirectly driving that.

Using Electron instead of other cross-platform frameworks like Qt allows one to work faster since you can apply webdev knowledge, and that directly leads to features that users actually care about being delivered faster.
Assembly isn't a good example, there are plenty of high level languages which produce excellent compiled output. But you have to use those, not any fancy new language or framework.

But your point is correct in that in many projects there isn't enough budget to make the product faster. Which is a project management decisions, not that the speed issues are unfixable.
2019: "This millenial is a baby."

2020: This baby is a millenial.
Ideally, we'd throw a sack of spores on a huge heap of plastic and few years later it would all be gone. Getting there will surely be a long process and require a whole lot of research.
Mac menu bar tool to view the architecture of the running application
So. The readme doesn’t mention React. As far as I can tell it’s not because it’s compatible with everything. Looks more like it’s the “Fish don’t know they’re in water” phenomenon. The author just assumes that the reader will assume that everything is for React only. (I might be wrong! The readme really doesn’t make it clear either way)

One of the nice things about Tailwind is that it’s completely portable, because it’s ”just” CSS. You can use the exact same design system regardless of how your markup ends up on the screen, as long as you can set a class attribute.
So you'd still keep 500K, right? I could live with such salary,even in SV
Export to whom? Everybody else in the vicinity also has a lot of sunlight. Why wouldn't they make their own power at home and save on transmission costs?
The Power of a Brand Management Solution
The test that never can get slower - I'm curious how they do it.. In my experience tracking performance regressions is much bigger challenge than solving performance issues.