skysight-inc/HackerNews huggingface dataset:
Ask HN: What are the best resources to learn Solidity?
Any suggestions on what you found most useful to learn Solidity?

There seem to be a few books by the usual suspects (O'Reilly, etc) but they're all from several years ago. Udacity seems to have some courses, but my previous experience with Udacity has been a mixed bag at best.

Any recommendations would be most welcome!
How do you measure "an order of magnitude better"?

What algorithmic or programming breakthroughs made that possible?

Where are your most impressive examples?
One can only work 24/7 for so long, regardless of the money.
Yea I think that's the big challenge. Plaid has somehow cracked this code for banking data, is it possible for someone to do it with retail data?

edit Amazon does provide an Orders API that at a glance seems like it would work for this case, but there's probably some underlying restrictions I am unaware of. https://docs.developer.amazonservices.com/en_US/orders-2013-...
GraphQL takes security pretty seriously the way we think of GraphQL as a DSL for bulding APIs. The queries you issue in DEV are saved to an allow list and only those queries are compiled in production. Any other queries (or changes to existing queries) from the client is ignore. So you can use it to expose your primary DB. It's really no different that you writing code to build an HTTP endpoint, except of-course here you only write GraphQL
At least in my country you'd be perfectly within your rights to distribute a program that would modify it automatically for every reader who'd want to read a modified version, since as per our copyright act, you're entitled to do pretty much any modifications to the copyrighted works that you possess, as long as you don't redistribute them.
Nothing is at odds with physics. The conflict is between people that own something and people that want that thing. Nothing in physics is stopping them from purchasing that thing from the people that have it.
Depends on what you want to do. Entrepreneurial as in start your own consulting company? Or starting a startup where you're (generally speaking) selling a product of some sort?
In my home in the southern US, I'd need ~13 canisters per day due to cooling needs at my current consumption. I could probably ration them and use ~5 per day in case a hurricane hits, and then I'd have about 2ish days of emergency power, but who wants to store explosive gas in their home? I've bought propane cylinders at the store and gotten leaky ones. At least propane doesn't combust unless it hits an ignition source.
>Of course. Women are not physiologically better at QA than other roles in tech companies. That's it. That's 100% of the information required to determine that this is the result of sexism.

Car mechanics aren't all women, even though women's hands fit much better into all those tiny spaces in the dashboard and engine bay? Sexism

Nurses aren't overwhelmingly male, despite the fact that a significant part of the job is wrangling patients, who overwhelmingly skew obese? Sexism
I used to work for a shipping company, they did a lot of business shipping cars back and forth to Florida for baseball players doing spring training.
Fine by me - call it a temporary correction while scummy business models are weeded out.
Determining causality in correlated time series
> that leads to a bunch of relatively vapid 100hr+ open-world games that frankly all kinda feel like the same game

And the on occasion you get something that looks like it can shake up the genre, but turns out to be an over promised scam.

But yeah, the whole open world, survival genre has exploded. Notable, Valheim was fun, but I felt like it could use a bit more variety on content.
Aren't those lawyers frequently patent lawyers, meaning often are engineers themselves? Electrical Engineering in particular, that's the hottest undergrad degree to then become a patent lawyer.
Proton VPN - 70M+ signups across our products. Fairly decent size at this point.(disclaimer I work for Proton)
Nice, so React Flow for Svelte?
https://news.ycombinator.com/item?id=31589839
The idea that early games prized fun ahead of graphics is ahistoric.

Video game magazines usually rated games on multipoint scales, with usually ‘graphics’ being a specific category. Games would get high scores just on the basis of their graphics. The main difference between platforms was defined by their graphical capabilities, far more than their performance. Arcade game ports to home computers were almost entirely measured on the fidelity of their recreation of the arcade graphics. A thousand tired movie license tie-ins were released which were just graphical glosses over the same underlying beat-‘em-up gameplay.
This is HIGHLY regional. In New Jersey, half of the power generated is nuclear, and in the west, hydroelectric dominates.
That doesn't change the tradeoff; in a Big computer that's also a galaxy any of the stars used as an instrument for gravitational computation can't provide nearly as much compute as having a planet-sized electronic computer powered by that star.
Progressive pricing is good yes, but the parent is right that a non-progressive price increase is born mostly by the poor. In fact I'd wager that's why sin taxes are effective, because the largest consumers of cigarettes, soda, etc are poor people
Mention the Federal Reserve once and someone thinks you are talking about a conspiracy theory.

In any case, I think I was incorrect about the nature of the direct lending program, here is the report from Congress about the CARES Act (the first pandemic relief bill) and how its "expanding the Fed’s traditional role beyond lender of last resort to the banking system and even beyond the more expansive role it took in the 2007-2009 financial crisis"

Its really not a simple "treasury does this, federal reserve does that"

https://crsreports.congress.gov/product/pdf/R/R46329
Why is this comment greyed out?
I believe it, but it's possible to get from water if you use electrolysis. But it's probably a high electricity cost. You'd be paying a lot of energy to make the energy more transportable in the form of hydrogen.
It’s something I have noticed.
Not a scientific survey.

Maybe trans people are more likely to seek help online. Maybe I don’t count well enough.

I keep an eye out for issues I can offer advise for. I do notice trends after awhile.

The biggest is probably people that refuse to change to try a healthy diet.

Some groups just want to complain about how bad life is.
Other groups are trying hard to get better. They take a very methodical approach to treatments and tests.

Lots of people simply need help to know what kind of specialist to see next.
Or advice when doctors give really bad advice. (Happens all the time)

The really confusing ones are often taking lots of hormones.
I disagree that Tshirts are a reasonable marketing expense. For one thing, they're relatively expensive to produce and ship on a per unit basis, and you will need to order in multiple sizes. Second, most 'brand' t-shirts are low effort logo templates made from BigCartel.com that look fugly. They're clearly an afterthought.

And because of that, those tshirts will end up in a landfill somewhere, just like the majority of soulless corporate swag that you'd accumulate visiting a trade show.
I am a fan of original MIDI too, I even had a T-shirt, but 2^7 controller resolution was a bit of an issue, since the gaps are audible when you are using them for filter sweeps. Some synths can smooth that out, I guess, but I would have preferred 2^16 for this reason, which probably wasn't an option when the original protocol was designed in the 80s.
Snow pack is the ultimate reservoir for California. It is what feeds the rivers and man-made Lakes
I spend a ton more time waiting to "recharge" my ICE than I do my EV, its not even close. If you're going to go by time waiting, my EV wins out by hours a year. Compounding that a several years and its essentially a day or two of my life saved by not having to pump gas every week and a half.
Wait, we don’t live under a totalitarian state with complete with unchecked power and total surveillance at all times?? /s
The Hidden Worlds of the Klein Tools TI250 Thermal Imager
A Dark Room - https://github.com/doublespeakgames/adarkroom

I actually forked and added a JS audio engine to play sound effects, ambience, etc. and it made it back into the official browser version of the game at http://adarkroom.doublespeakgames.com
Lack of player generated content also killed it for me. My friends and I spent 1000s of hours playing custom CS and Warcraft III maps. And then 100s of hours playing custom Portal maps. Feels like there is nothing comparable to this today.

Feels bad.
This is a well-written article with excellent explanations and I thoroughly enjoyed it.

However, none of the variants using vmsplice (i.e., all but the slowest) are safe. When you gift [1] pages to the kernel there is no reliable general purpose way to know when the pages are safe to reuse again.

This post (and the earlier FizzBuzz variant) try to get around this by assuming the pages are available again after "pipe size" bytes have been written after the gift, _but this is not true in general_. For example, the read side may also use splice-like calls to move the pages to another pipe or IO queue in zero-copy way so the lifetime of the page can extend beyond the original pipe.

This will show up as race conditions and spontaneously changing data where a downstream consumer sees the page suddenly change as it it overwritten by the original process.

The author of these splice methods, Jens Axboe, had proposed a mechanism which enabled you to determine when it was safe to reuse the page, but as far as I know nothing was ever merged. So the scenarios where you can use this are limited to those where you control both ends of the pipe and can be sure of the exact page lifetime.

---

[1] Specifically, using SPLICE_F_GIFT.
There is no probability to know in the sense you mean -- probability is what we call our personal assessment of the situation, incorporating the (little) knowledge we have.

So sure, there is your probability. Will you make money knowing it? That's the question you're alluding to.

(As a concrete example: there is no "true" probability of rain six days from now. Either it rains or it doesn't. But a skilled meteorologist can give you a probability that would probably make you a little money over the climate average.

Both the climate average and the meteorologist's assessments are correct probabilities. They just reflect different amounts of information.)
> The cartridge Toyota has developed manages to do this for 5.5kg. Not bad, but not a paradigm shift, considering you have to build a logistics network to refill the cartridges.

It may not a paradigm shift for cars but definitely a game-changer for aviation. Right now, there are a few experimental light aircraft powered by batteries can manage 20-30 minutes in the air. Quadruple that and you have something that's actually practical transportation.
I'm sceptical about the practicality and economics of large airships, but I'd love to see small airship 'yachts'.

Santos-Dumont's Dirigible No.6 [1] could 40km/h with a 12hp engine in 1901. It had a 630 m³ balloon (33m long x 6m diameter, total mass ~600 kg). With modern engines, materials, and modelling you could make a very comfortable and quite speedy 2-3 person yacht in that size.

1. https://en.wikipedia.org/wiki/Santos-Dumont_number_6
Like long covid?
Comments will appear lighter the more downvoted they are.
The things that have made me a better, healthier person are either prohibitively expensive or impossible inside of a city. The things that make me a worse person are often required inside of a city.

Perhaps it's to some extent personal preference, but those preferences grew out of having experienced both settings under discussion. One thing that you can't get around though: getting sick is much easier inside of a city -- this is why I can't understand how many of the same individuals who often are very fond of cities can still be after also being those who are most concerned about pandemics. Research also has shown that ideal human groups are no larger than around 200. Extrapolate that to get an idea of how pathological a city-based culture can become.

If you absorb the full picture painted by the famous "mouse utopia" experiment, you can get some further insight into what, over the course of decades, built my own understanding and perspective on different living modes, especially as both relate to city life. Its goal was to talk about overpopulation, but it more accurately could comment on over-concentrated population.
Haskell can be even simpler:

main = putStr (repeat '1')

[Edit: as pointed out below, this is no longer the case!]

Strings are printed one character at a time in Haskell. This choice is justified by unpredictability of the interaction between laziness and buffering; I am uncertain it's the correct choice, but the proper response is to use Text where performance is relevant.
Also your have to fuel the tank logistic network: those H2 barges won't propel themselves (and a pipeline network of H2 is a nightmare for lots of reasons).

Plus, distributed H2 generation is probably less efficient then a few massive refineries, and almost certainly would also consume more resources (worn out equipment, tanks, etc) which would take more energy to replace.
This seems to be an effective distribution model for propane, and it would be a lot easier to make Hydrogen accessible by this model than building out a dedicated gas-station like network.

It's also good to diversify the alternatives to fossil fuels. It's not clear that there are sufficient accessible deposits of lithium and other raw materials to meet the demands of electrification of everything via lithium batteries, and the vast majority of current lithium supply is controlled by Chinese businesses. So it's prudent for a company the size of Toyota to be investing in this, even if the technology is not currently competitive with batteries for automobiles.

One area where I could see this being useful is in construction. Being able to swap out a fuel tank and just keep working seems would be a huge benefit over having to let heavy equipment sit idle for hours to charge, and that's assuming there's access to the electric grid onsite.
some additional context in "California Extreme Heat Action Plan 2022" and related documents from Sacramento
Sell yourself as a specialist consultant, invariably companies need generalists they just don't know that they do.
I see why you may think that way, but I don't think you're right.

I guess for you it's a given QA jobs are "inferior" to SWE jobs. I guess you believe the articles you linked proof women tend to get "inferior" jobs just because they're women? (I haven't read the articles, although I believe this to be true).

I just can't make the jump that this applies to QA jobs (granting they are "inferior"). That would imply "inferior" jobs are always overrepresented by women, and there are counterexamples to this, by almost any definition of "inferior".
There are riches in niches.
Just in general, that there's a lot of stuff to do. I can make a base and slowly do various upgrades, try to finish the game as quickly as possible, or just fool around in creative mode.
The Audm app has a fantastic narration of this that I've returned to a couple times in the past years for a laugh.

>Even on short plane trips, every passenger is offered the kindergartner’s communion of juice and cookies, as if a majority of adults are incapable of going 90 minutes without such provisions. On trains, passengers are treated as individuals even more powerful than adults: independent teenagers who just want to smoke. Amtrak knows you want to smoke. Amtrak knows you love to smoke. But while you’re living under Amtrak’s roof, you have to follow the rules, of which there is only one, and that is: Don’t smoke inside.

The author Caity Weaver also wrote a fun autoethnography on #VanLife[0].

[0] https://archive.ph/1OKC6
Svelte https://github.com/oslabs-beta/Svelvet
Beef is an immensely inefficient food. I love steak and hamburgers and roasts and all those delicious things but if we ever want to reach sustainability they will cost quite a bit more.
What can I say, as a long time Vim user (20 years), I’ve switched to VS code (for all except sysadmin tasks).

The editor itself is ok, but the strength of VS Code is the JS based plug-in ecosystem.

Vi/Emacs are all shackled by their TUI.

For me, VS Code is like Emacs with an elegant, flexible UI.
EV Batteries can be recycled, but finding a place that WILL is an entirely different proposition. Granted California just recently started (*), but that doesn't do a hell of a lot of good to someone in Michigan, Missouri or New Mexico.

As far as Batteries lasting 'decades', you won't get far with that argument when talking to Nissan Leaf owners who are having to replace their 9 year old batteries after 150K miles (**)

I'm all for EV's, but proponents should remember EV's started somewhere too, with lots of the same skepticism thrown their way (expensive home systems to recharge their batteries, the cost of recharging networks, cold performance, etc...) As I see it, there's way too much of the same talk coming from the Battery EV crowd when they talk about Hydrogen.

(*) https://www.protocol.com/bulletins/electric-vehicle-battery-...

(**) https://driving.ca/features/feature-story/the-big-looming-pr...
That’s a good point—I was thinking of federal law.
Bluffing is indeed lying, but in a fairly innocuous way.

Say you're a physical coward and you're being picked on for a fight by someone. You can puff your chest up, put your shoulders back and put a sneer on your face, possibly scaring the bully off.

Yes you're misrepresenting yourself. You're lying. But how exactly is that corrosive to your character?
It is a mystery.

Theories:
- Their engineers didn't think batteries were practical back in 1992 (reasonable). But by the early 2000s, batteries started to prove themselves, and fuel cells continued to struggle. But now those engineers from 1992 are in charge, and refuse to admit they've spent their career traveling a dead-end road.
- They have some deep insight into other uses (trains, forklifts, jet-skis?) and need to build out the tech, and cars are their home. Germany is similarly stubborn about hydrogen trains too.

My money is on face. Toyota has spent too much money, and can't change until some senior people retire.
Lifestyle factors drastically dominate when it comes to mortality/life expectancy. Also, the whole idea is highly speculative and would/should have no implications for workplace/hiring practices regardless.
https://www.airdev.co/products/social-networks
Yeah they can be recycled which is big. But I think we're headed into a world where we just need a whole hell of a lot more lithium then we're currently using. If all cars are eventually replaced with electric cars, that's a lot of batteries.
No, if coffee bothers your digestive system, you don't drink it. The reason it bothers your digestive system is you have other health problems that are undiagnosed/medicine doesn't understand yet. Those other health problems could contribute significantly to all cause mortality.

Not saying I agree, but thats my interpretation.
If Israel (and Saudi Arabia) were to adopt American democratic norms than all members of their population (by which I mean, populations under their military control) would have a right to vote in national elections, yes? So everyone in the West Bank and Gaza would get one vote, same as everyone in Israel proper, for electing members to the national legislative body. Perhaps some degree of federation (as with American states vs American federal) would be appropriate.

Now there was a period in American history when only white male landowners really had opportunity to vote, but that notion has been soundly repudiated, hasn't it? Even then there was a significant group who advocated for the expansion of voting rights to all. See composition fallacy again.

Similarly, the right to emigrate or own land would not be restricted to members of certain religious groups (imagine if that was the case in the United States!). Hence Israel doesn't actually meet the basic requirements of 'democratic norms and values', does it - and nor does Saudi Arabia. Curiously however, these two states are often referred to as "America's closest allies".

As far as repression, well the targeted assassination of an American-Palestinian journalist in Jenin is just one more example of this. See also the targeted assassination of a Washington Post op-ed columnist Jamal Khashoggi, ordered by Mohammmed bin 'Bone Saw' Salman in the Saudi embassy in Turkey, for comparison.

https://www.cnn.com/2022/05/24/middleeast/shireen-abu-akleh-...

'They were shooting directly at the journalists': New evidence suggests Shireen Abu Akleh was killed in targeted attack by Israeli forces
So much internet, welfare, tax, covid relief, unemployment fraud (etc), yet there is absolutely no problem with elections.
The one thing I was disappointed in with the AoE3 remaster was the old multiplayer, player created scenarios were not compatible and frankly you just don’t see many custom scenario games anymore. Some were quite fun.
The train often does not parallel the highway. There are some remote parts of the country, particularly through the mountains, that can only been seen by rail. And because we have nothing comparable to a TGV or Shinkansen, you get to relax and see everything at a leisurely 40-60/mph, "rocking to the rhythm of the rails"[0].

[0]https://youtu.be/fF1lqEQFVUo
I had the pleasure of working with Tom Oberheim and Roger Linn, and can corroborate. I wish I had the opportunities to work with the rest of that list.

At some level, people go into this business because it's a labor of love. The skills that so many people in the electronic music equipment industry have are worth a lot more outside of music. Electrical engineers (especially the combination of analog and digital), firmware, DSP, etc. are all so valuable in other industries, but the sales numbers in music equipment are nothing like general consumer electronics.
The default would be to go to college and then immediately claim bankruptcy, sounds like a "radical" idea that would not end well
Seems like this would be helpful for api owners, but also helpful for hackers looking for victims. Very cool though.
Topic dilution is the closest thing I can think of that's already been coined. Rather than participate in good faith, the actors bring up some hot topic like racism, and off it goes until it's a full-on flamewar, or people drop out, or mods shut it down.
I can't imagine the cost to install a backflow device on every single lone connection.
Is that your interpretation of the data that they used?
Does this mean you consume 6-7 small glasses of wine a day?
~300mg all at once is a recipe for a bad time, for me. I'd rather drink 2 Monsters (0-cal, 140mg caff each) than 1 Bang, and space them out further.

But I'll have a C4 once in a blue moon, if I plan to hit the gym very soon after.
Which is true of all bigoted groups tbh. Quite harmful in how it manifests and grows, esp in corporate companies.
I've had mixed experience here. It REALLY depends on what you're specializing in; specialization alone doesn't cut it. Also, you can get away with being a skills generalist if you instead specialize in a field/topic/etc (IMO).

So its more about positioning, I think. How you're able to sell yourself and the skills you have.
I donated ONE TIME to a classical radio network in Southern California and over the next 5 years they proceeded to send me mailers that cost at least what I'd donated. They did eventually stop.
Fennel Language Game Jam 1 Submissions