skysight-inc/HackerNews huggingface dataset:
Awesome project Jacques! I saw a comment of yours on an article a day or two ago and was hoping to see this pop up soon.

I've found the most difficult thing about riding an e-bike is the other motorists have no idea how to react to you. You're not really a regular bicycle anymore due to your speed, but you're also not a motorcycle that deserves its own lane. I have at least one car turn in front of me almost every trip out just because they're misjudging my speed. I get honked and yelled at when on the road because folks get frustrated when I'm using the left-hand side of the right-turn lane as a bike path.

Sidewalks/bike paths tend to be a lot less safe in residential areas as well, since cars coming out of their driveways really don't expect an e-bike to come rolling through. I've learned to dramatically reduce speed in areas like this.

Aside from those things, I love it! I ride the e-bike whenever I'm going somewhere in range (I live in Florida so things tend to be spread out) and the weather permits. My bike gets about 80km which is more than enough for anyplace I want to go on a bicycle anyway.
If we double the weight of all passenger vehicles, how would the damage they cause compare to large trucks? IIRC the ratio is currently 1:5000 to 1:10000 but trucks don't pay thousands of times more for registration or tax on fuel.
Edge's chromium bones cripple uBlock's ability to protect users from dodgy ad tech. From a safety standpoint, this puts Edge in Chrome's class - which is to say less safe than Firefox.
But the GPUs already exists, what solution do you imagine that involves the said GPUs to not be used anymore? Even if you sell them to normal consumers, the GPUs will be used, one way or another.

Are you suggesting we should destroy the GPUs that were previously used for Eth mining?
> Zoom client on Linux works and is IMO more reliable (e.g. doesn't BSOD me)

The Windows client has never BSODed on me. Sounds like a problem at your end.
It's an annoying cult, same as the Tesla Crypto NFT fan boys.
It's not difficult to imagine electric training aircraft. In fact, they already exist - Pipistrel have delivered 111 of them (https://www.aopa.org/news-and-media/all-news/2021/january/27...). They have swappable batteries and can fly for about an hour.

The total cost of ownership must be super low compared to gasoline engines - there's almost no moving parts, which means no costly engine rebuilds.

I'm very, very sceptical of electric passenger aircraft, but I think it's almost inevitable that electric aircraft will start to dominate at the training and low cost end of the market.
It is being worked on: https://www.postgresql.org/message-id/flat/ac873432-31cf-d5e... !
Mannerheim was, to put it mildly, a pretty extraordinary character. Among other things, he met the 13th Dalai-Lama in Tibet while the Dalai-lama was in exile - to whom he gifted a pistol and instructed how to operate it.
Well, yes, but that was centuries ago (the 1860s). Surely it's effect should have been obvious before now.
Really? The overcrowded countries are the exception, not the norm. It's proven that people need space and nature.
I would like to immigrate to San Francisco. I'm currently working on a startup in France (I'm a french citizen). I didn't create the company yet. Should I go with Stripe Atlas and create an American company or a french company? I would like to be able to receive funds from the US and from France, not sure who will fund my startup.

If I have let's say $100k of funds, am I able to immigrate to the US?

Thanks a lot
I come across modern Solexes with regularity on the bike lanes here, never seen one in traffic.
The issue isn't skin color causing certain behavior, but whether skin color is correlated with certain behaviors. For example, it might be the case that black people are more likely to be poor, and poor people are more likely to respond aggressively to police authority.
I don't know if you're being serious or trolling.

Nice way to move blame. Let's use your logic further.

Why is every house in the US filled with stuff imported from China, a country that is responsible for some of the most egregious, disgusting human rights abuses again?

Why do US consumers (I'm sure you including) continue to buy items manufactured in China, a country that is responsible for some of the most egregious, disgusting human rights abuses again?

Why US has China as its top trading partner, a country that is responsible for some of the most egregious, disgusting human rights abuses again?

This list can carry on forever...

After few hundred billions worth of trade between US and China, suddenly the problem starts with Apple?
Totally agree, really wish for a language that has all rust features + GC. OCaml and F# come close enough but they are not as popular.
Yup this is a great article about it that I coincidentally re-read yesterday:

https://journal.stuffwithstuff.com/2013/01/13/iteration-insi...

I find it easier to think of as "push-pull" though. In Python and Go, you "pull" from iterators. In Ruby, JavaScript, and Rust, you're "pushed" upon. You can do both styles in any language, but there's one way that's favored.

To break the dilemma, you need 2 call stacks, which means threads / coroutines / generators.

(There was a recent blog post about writing an iterator to do the powerset calculation, which is a bit tricky, and made me think of this post)
They’re surely not running out of money.
That's my next post! I'll be looking at aggregates of semantic meaning of popular submissions.
> the answer is urban density

i.e. live in the pod?
I don't think causality really works like that, even the Bible for this one right.

"The son shall not suffer for the iniquity of the father, nor the father suffer for the iniquity of the son."
You don't need a Mac anymore.

https://aws.amazon.com/ec2/instance-types/mac/
Has Ethereum put every deadline on indefinite hold?
I run a web app with 2k monthly users and 15k registered users (and about 14k downloads, which happen through the GitLab release page). I have 40 stars. It's just a silly metric.
> BTW I am deeply surprised that there has never been a cloud hypervisor doomsday vulnerability that has brought down AWS or some other huge provider. Back when virtualization in the cloud got big I would have bet serious money that this would have happened by now.

Meh, the vast majority of rational hackers will just sell a zero day capable of doing that either to the vendor themselves or to a nation state for several million dollars. I suppose they could bring down AWS for "fun", or try to short Amazon's stock and make a personal profit, but the consequences of getting caught are devastating. Selling the vuln is practically risk free and nets life changing money.
The lowest hanging fruit so to speak are creating a good company and/or doing great work as an employee of a good company, serving as a judge at competitions/events (or as a reviewer for conferences or journals), obtaining membership in professional associations that require outstanding achievement of its members, and being the subject of media attention.
and that's a good thing, here's why
The key issue is chargers are too expensive.

A home charger usually consists of a $5 relay, a $1 earth fault clamp and a $1 microcontroller. Yet somehow a home EV charger is $300+!

Home chargers could easily be designed to just plug into regular 30 amp 6.6 kilowatt tumble dryer outlets, for no additional cost.

Fast chargers are also too expensive. The main expense is high power switching electronics, but the core MOSFET's and inductors are super cheap. For example this[1] part can switch about 70 kilowatts for just $15. A basic 3 phase -> DC charger can be built with one of those, a few capacitors, an inductor, 7 power diodes, fan, heatsink and a microcontroller.

So why do commercial DC fast chargers only start at $25k??

[1]: https://www.mouser.co.uk/ProductDetail/Infineon-Technologies...
OK so now we are looking at yet another Tesla that is on 'LSD' instead of 'FSD' which explains the erratic behaviour that is going on with these vehicles crashing and swerving when activating the 'beta' feature.

Imagine using it when driving at night. The most dangerous time to drive.

No thanks and no deal to safety critical 'beta' software.
While were at it, I've read heavy transport doesn't pay anything like proportional to wear and tear; if so that would seem to be more important to fix, at least at first glance.
We've fixed this now (https://news.ycombinator.com/item?id=29201489) so I'm going to detach this subthread and mark it offtopic so the thread can stay focused on immigration questions.

Btw, it's better to let us know at hn@ycombinator.com about cases like this so we can be sure to fix them. I only saw this randomly. We're grateful when users watch out for each other and we're always happy to unban accounts when it's clear that they're using HN as intended.

(Detached from https://news.ycombinator.com/item?id=29200985)
Onboarding to all but the most perfectly-written-and-maintained Rails codebase is pure hell, for exactly that reason. I've done lots of Rails in the past, but sworn it off after enough such experiences.

[EDIT] Which sucks, because I really like Ruby.
Python is experimenting with a novel approach where objects have two reference counts, one exclusively for the owning thread and another for all other threads, improving performance when most of the increments/decrements are done by the owning thread.

https://lwn.net/Articles/872869/
I am getting solar with battery (in Texas) and I asked all the companies I spoke to when collecting estimates. They said < 10% do. Solar saves you money on the electrical bill and has a chance of breaking even over time. Storage doesn't nearly as much since most people sleep a large portion of the night.

Additionally, I suspect you severely underestimate the additional cost ($10k in hardware alone [2], and that is before you get to permits and labor) and severely overestimate the average American family's ability to pay it [1].

[1] https://www.google.com/search?q=median+income+usa

[2] https://www.buildwithrise.com/stories/tesla-powerwall2-basic...
Timely: I sit here waiting for an electrician to turn up to install power on our 50 acre property 3 hours north of Toronto. We have a 14-30 outlet in our house in the city, we use that to get around 35-40km/hr of charge in our driveway. That cost around $1500 (CAD) to install.

Up here, it's a different story. Our power comes in via the lake. It then goes to a transformer, it then goes to our metre which has a 200amp breaker on it. From there, it currently goes into the house.

In a few hours, it'll split off at the meter and head up a 150m hill where we'll be installing a 100amp outdoor panel with a 14-50 outdoor outlet. In the winter we cannot drive down this hill, so we need to charge up the top. It's a lot of work to do this, total cost is going to be around 8-9k, but from my perspective, it's an infrastructure cost and no matter what this makes us less dependant on fossil fuels and more independent. Our nearest gas station is around 20 minutes away, so we often have concerns about forgetting to gas up and then maybe struggling to get back to the gas station. While it's never happened, i love being able to charge at home.
I think this can be solved with better UI: Instead of stars, show a sparkline of the distribution the of scores. The user can then see the tiny do representing the single 5 star review and the giant peak representing the many 4 star reviews.
Hi Peter, my startup is a US Corp (Delaware) with a US-based co-founder and US-based employees. I live in Canada and I'm a Canadian citizen and I have zero intention of moving to the US. I'm the CEO. I'm using an EOR (Remote.com) to pay me in Canada.

I believe I can fly into the US for short trips on a smile and wave B1, but I want to be sure I don't need something like an L1. I have easily got a TN1 in the past, but I don't think that works if I'm a major shareholder.

Basically, I'm the CEO of a US corporation that lives permanently outside the US, and I want to cross the border occasionally to meet with the team, do trade shows, board meetings, sales meetings, and then return to Canada shortly thereafter. What permits do I need?

Thank you for your input!
> so sad to watch recently is peoples' disbelief in how different the reality of the Kyle Rittenhouse situation is from how it is presented to them on the news

I feel pretty positive about this actually. This will be the tipping point for many to finally question all the info they get from the corporate media.

For a long time I saw garbage reporting on subjects that I had the slightest familiarity but I still blindly believed their reporting on any other subject, until something clicked in my mind and now I can't unsee it. I'm sure many are experiencing this click due to the trial.
From TFA:

>> We're planning to get some high core count machines to be new compute machines in our environment of general multi-user Unix login servers

I think the "general multi-user Ubix login" thing assumes different users on the same CPU. Unless they're actually going to have more CPUs than users. It seems like sharing a CPU is actually less secure than sharing one via SMT because of all those SMT-specific exploits (in addition to whatever exploits might be possible due to CPU sharing).
Too many characters on Linux? Quite difficult to reach to be fair. Do you have an example?
For that one specifically, you may want to check your copy of "ssh-keygen" as it has recently(?) learned to manage those known_hosts entries without resorting to text file manipulation (`ssh-keygen -r something.example.com` for example)
Twitter: NFT Avatars
It's much easier to convey emotions via voice.

Also, as a language learner I can write 我是美国人。 But can I speak it properly ? Being able to send voice messages is a great option
If you're making grid electricity with hydrogen, it will be as expensive or more so than something that directly uses the hydrogen. You also are going to be forced to charge during the day, the exact opposite of how people use their EVs. Finally, hydrogen will make up the majority of power production for those long stretches of low wind and cloudiness. In all likelihood, grids will be built around the existence of hydrogen storage, not the other way around.
> But is it, actually? The amount of nuclear waste in interim storage speaks against it.

No, there aren't a lot of breeder reactors running. But that's just because there hasn't been any pressure to develop them commercially.

> but I'm not aware of any actually viable solutions.

Check out the Onkalo fuel repository: https://www.posiva.fi/en/index.html
Levelized Cost of Energy, Storage and Hydrogen
In another article, the author (Evan Miller) recommends not showing the average unless there are enough ratings. You would say "2 ratings" but not show the average, and just sort it wherever it falls algorithmically.

https://www.evanmiller.org/ranking-items-with-star-ratings.h...

In that article, he even includes a formula for how many ratings you'd need:

> If you display average ratings to the nearest half-star, you probably don’t want to display an average rating unless the credible interval is a half-star wide or less

In my experience, the second article is more generally useful, because it's more common to sort by star rating than by thumb-up/thumb-down ranking, which is what the currently linked article is about.

And the philosophical "weight on the scale" problem isn't as bad as you'd think when using these approaches. If you see an item with a perfect 5-star average and 10 reviews ranked below an item with a 4.8-star average and 1,000 reviews, and you call the sort ranking "sort by popularity," it's pretty clear that the item with 1,000 reviews is "more popular."
Does high score cups of coffee seem to work out well for you?
Show HN: Cryptoscam a site to check if a coin is a scam or not?
In Python numeric computing it's common for your outer loops to be for loops and your inner loops to be vectorized PyTorch/whatever.

I personally like being able to easily comprehend and control what's being vectorized. Maybe it would be nice if my compiler could automatically replace any inefficient loops with vectorized equivalents, and I could think in whichever idiom came more naturally to the problem at hand. But I don't think there's anything too illogical about looping over epochs and batches, and then computing your loss function with matrices. Maybe I'm just used to a suboptimal way of doing things :)
You should post this on endlessSphere if you haven't. Great write-up!
Dimension in this sense means degree of freedom, not a spatial dimension. That is, a number on the "imaginary dimension" cannot be represented on the "real dimension". This is similar to how a length does not represent a width or height.

When visualizing the real and imaginary dimensions, it is convenient to represent them using x/y axes. However, some visualizations of complex functions use colour/hue as a way of representing the real or imaginary part of the result.

Dimensional analysis is used in physics, etc. when manipulating fundamental units (time, length, luminosity, etc.). That is, m/s^2 has dimensions length=1 and time=-2.
It's definitely harder on the batteries than regular L1/L2 charging, but it looks like maybe a low single digit difference in capacity after 50K miles, at least per https://www.energy.gov/sites/prod/files/2015/01/f19/dcfc_stu...
"I'm always amazed at the discrepancy between what's promoted in the MSM and where popular opinion is."

Do you think like/dislikes on YouTube represent popular opinion?

If so, you are profoundly deluded.
Not having faith in the user is a giant step towards mediocrity. Does a weighted average provide better results? Then use a weighted average! The world isn't split into an elite group of power users and the unwashed masses. There are just people with enough time and attention to fiddle with browser extensions, and everyone else. And all of them want the best result to show up first.

Yelp didn't get dinged because their algorithms were hidden. They lost credibility because they were extorting businesses. Intention matters.
> but a bigger danger is mobile phone use by cyclists.

Or by pedestrians!

My brother curses the number of pedestrians in Glasgow that cross the road while looking at their phones... they're by far his biggest hazard.
Does it "speak" iSCSI or what?
> SMT (a.k.a. hyperthreading) is kind of a security minefield, but so is out of order execution and crufty instruction sets like x86_64. But vulnerabilities of this sort tend to be hard to exploit in the wild.

I'm not sure this is even true, so much as that it's just easier to do it some other way.

You could use speculative execution by measuring timing to extract secrets to get privilege escalation, but then you have to sit there with the CPU at 100% for ten minutes while doing timing statistics. Whereas you pull the latest 0-day off a list somewhere, and the target is going to install the patch tomorrow but hasn't yet, and that pops the system in less than a second. So people do that instead.

> BTW I am deeply surprised that there has never been a cloud hypervisor doomsday vulnerability that has brought down AWS or some other huge provider. Back when virtualization in the cloud got big I would have bet serious money that this would have happened by now.

The assumption there is that the goal of somebody who got in would be an externally visible denial of service, as opposed to e.g. data exfiltration which might never be detected.
For investors, Rivian isn't the next Tesla
IIRC this is attributed to the fact that the Vikings came to Iceland from Scandinavia via Scotland, a place with very thick soils capable of regenerating forests.

Superficially Iceland looked forested like Scotland, so they continued their existing animal grazing practices, which along with logging then destroyed the thin topsoil layer of Iceland.

I think it was Jared Diamond who summarized it like that, but in the context of Greenland, where the Viking immigrants suffered and even worse fate, but the patterns are similar.
I'm fine with this as long as the "some point" is when new ICE vehicle registrations are no longer allowed. Until then, we should just raise the gas tax as necessary to keep maintaining the roads.
This highlights my number one frustration with applying for associate level software engineer roles. Recruiters see “IT Engineer” as my previous job title and don’t even bother looking at the day to day tasks I was performing to see if they’re applicable.
The US is diverse in terms of both culture and climate :) Many people I know want to live in the US for various reasons. And I can't offer relocation to any European country without having operations in Europe, for the same reason that people outside of the US can't offer relocation to the US.
It's a completely trivial difference compared to the damage that large trucks do. Damage to the road is proportional to the fourth power of weight per axle. Cars, and even SUVs, with or without a battery, are a rounding error.

With that said, yes, there would still need to be some to ensure the roads exist at all, and for the damage that happens irrespective of usage (like from weather, shifting ground, etc).
I was a Ruby early adopter - early 2001 - because I needed to move from Perl to a new scripting language (OO Perl just seemed like such a hack and there really was something to the Write Once aspect of Perl - I'd come back to a Perl program 6 months after I wrote it and wonder what the heck was going on). I took one day to play with Python. I got burned by the significant whitespace thing right away. Next day I looked at Ruby and it seemed like the perfect fit for what we were doing. Over the next dozen years or so I was a huge Ruby fan. But then around 2014 I got a different job in a Python shop. I thought I was going to have a rough time with the significant whitespace, but I ended up liking it a lot. That's not to say that I don't miss features from Ruby, but I found that I could get along fine with Python's significant whitespace.
What I am saying you could hack the power to torque factor to be so high you don't really have to exert very much force at all.
> All those brackets are extra things your brain needs to process when reading the code, strip them away and it becomes just like reading written language

No, it doesn't, because written language explicitly marks ends, and sometimes also begginings, of structural units (programming gets brackets from natural language), it doesn't just use white space (until you get to units bigger than sentences.)
you might like this: https://www.youtube.com/watch?v=mvmuCPvRoWQ
I don't even know how many stars I have. Maybe the tens of thousands. On npm alone I have an upwards of billions of downloads a week. None of that really means anything, so I don't view that as a signal of authority on this subject.

This article is exactly what's wrong with GitHub. Flashy logos and jargon-ey readmes fooling folks into thinking something is high quality, secure, thoughtful code that will benefit instead of hurt.

These things are important for garnering views, sure, but open source isn't a marketing channel. You're optimizing for the wrong thing here.

Further, in my experience this applies primarily to web (see: Javascript) and ML spaces. Most other areas of focus don't worry as much about this.
This is not idiomatic ruby, you would do

class Stuff
attr_reader :list

def initialize
@list = [1, 2, 3, 4]
end
end

Then:

Stuff.new.list.each { |item| ... }
Stuff.new.list.map { |item| ... }
Stuff.new.list.select { |item| ... }

And if you want top-level each/map/select methods, you could do

delegate :each, :map, :select, to: :list
Ruby was heavily inspired by Perl. I know a few people that moved from Perl to Ruby and felt quite a home. (Personally, my path away from Perl is likely to be to TypeScript on Deno, since if I'm going to make a change I might as well pick up some major benefits along with the normal set of trade-offs).
Can you send me the Intel/AMD/Qualcomm/Samsung sources and schematics?
nice, maybe USA is the next stop in my carreer