skysight-inc/HackerNews huggingface dataset:
Sure, but for most people that line is not so fine.
That open letter against RMS is so cringe. The people who are attempting to purge him sound like intolerant, wanna-be dictators.
Joining the line. Please do share.
Haskell's polymorphism isn't the same as rust. Rust has two kinds of polymorphism.

Static dispatch:

fn show<T>(a: T) -> String
where T: Display
{
Display::fmt(a)
}

fn main() {
show(1_i32);
show(1.0_f32);
}

is (handwaves) first translated to a version with no generics

fn show_i32(a: i32) -> String {
i32::fmt(a)
}

fn show_f32(a: f32) -> String {
f32::fmt(a)
}

fn main() {
show_i32(1_i32);
show_f32(1.0_f32);
}

You can probably see how the more permutations of functions you need to generate the slower it gets.

Dynamic dispatch:

fn show(a: Box<dyn Display>) -> String {
Display::fmt(a)
}

fn main() {
show(1_i32);
show(1.0_f32);
}

This translates to (handwaves):

fn show(a: Box<dyn Display>) -> String {
let fmt_fn = lookup_fn(Display::fmt, typeid_of(a))
fmt_fn(a)
}

fn main() {
show(1_i32);
show(1.0_f32);
}

This is simple to compile, but you need to do some extra work at runtime.
Yeah, it was definitely napkin math. I'll edit my comment.
Same, but for some reason it’s rare for me to get interviews at the type of places.
No it's not. There has been more than one instance when me or friends talked about topics and a day later we get weird ads for it on Instagram.

Adtech is creepy and dystopian.
First of all, nobody "sucks beyond repair" -- everyone can grow and evolve although some people may start at a point where the company doesn't have adequate enough resources to make an ROI off of its investment.

The problem is, some people have a fixed mindset rather than a growth mindset because they've never seen anything different so they think it's impossible. When you say "Sometimes the person sucks beyond repair and needs to be fired" it ends up functioning as a red herring to deflect away from poor people leadership. It's a naive excuse made to hide a lack of understanding regarding how something really works.

To figure that out, let's ask this: how do you think the manager hired that "wrong" person in the first place, and how do you think that person ended up in a place to end up failing?

My point is not to be socratically pedantic here, but to point out that communication is /hard/ and often times an inadequate deployment of it is at the root cause of these kinds of failures. What kinds of communications could have gone wrong here?

1) Failure to adequately communicate with higher ups about headcount, business goals and necessity/capability to deploy extra headcount

2) Failure to adequately communicate requirements for the job before hiring

3) Failure to adequately communicate during the interview so as to properly assess candidates

4) Failure to adequately communicate expectations, progress, onboarding and plans after a candidate onboards

Guess what happens if anything about this chain of processes is broken internally? The candidate will fail, and due to circumstances out of their control. And then they will move to a more functional organization, and wonder why they ever wasted their time with this one.

Now, whose responsibility is it to make the right judgment call about that? Whose responsibility is it to have the right internal /communications/ to make sure the decision is well thought out and solid, to make sure it is brought through to fruition successfully? Who reaps the ultimate rewards, and who ultimately shoulders the greatest burden for mis-execution?

Not the IC. It is leadership. This isn't rocket science.
Pretending port zero is a normal one (2014)
Readable `.livemd` format looks lovely (regular markdown without extra elements)

http://lon-screenshots.s3.amazonaws.com/2021-04-18_Screensho...
Not OP and from mobile I can’t search an exact link, but search for the so called “Rhode Island experiment” and its impact on rape and sexual violence.

The tldr is that at least a part of sexual violences DOES seem caused by a need for sex, and if you can buy it legally such violences can become fewer.
Excelize 2.4.0 is Released – New support 152 formula functions
Does anyone have a link to the actual details of the proposal? For a tech focused forum like HN, I would expect to see the actual technical detail rather than just political commentary.
When you're teaching beginners: what you're talking about won't really make any sense. It's an implementation detail (and a complex one at that).

A beginner at basic level, that's "what's a variable", "what's a function", "I don't see what the point of a function is". And something like Node -- it's just not a great environment to explain that: it doesn't do much that's interesting, like move stuff around on a screen. You can type stuff into the REPL, and it will spit things back, but that's just going to look like a calculator. Something like Processing, or a simple game engine aimed at beginners, or even making things happen on a web page using JS: that's good, it holds interest.
Thanks!

There's nothing in the article that suggests that tether will be closed if they are not backed up 100%, so I guess it won't make any real change even if they are not.
> let me say that lawmakers and LEO did begin to care about sex abuse, until gobs of money and power started to come with it

* did -> did not ?
The Epstein stuff was more of a last straw. RMS has had terrible reputation for decades, you just don't hear about it unless you talk to people at MIT. The me too movement has shifted the window in such a way that it's finally coming out in a public way.

The FSF sadly functions as a cult of personality for RMS at this point. I do not believe either of them are doing anything to help the cause of FOSS at this point.
> If you want to know what people really think without the possibile influence of preference falsification, it needs to be an anonymous poll.

Which is exactly why we not only allow, but actually enforce it in elections. If your vote could have a strong impact on e.g. your future employment, you wouldn't be free to vote for what you think is best, you'd be compelled to vote for what you think is perceived best.
Thanks!
I don't know Sahil personally and I don't think he'll reply on Twitter, but I'll try. You miss 100% of the shots you don't take.
From the article

>The owner, he said, backed out of the driveway, and then may have hopped in the back seat only to crash a few hundred yards down the road. He said the owner was found in the back seat upright.

My first thought was they were making a YouTube video
Do you write the python code or do you use the Selenium IDE to generate your python code?
I literally started just by saying that I have no idea how you came up with the binary choice claim (still don't). Then I clearly highlighted that the answer isn't simply to implement a child lock like you suggested. That's a very small part of the answer. Like a positive attitude is just a very small part of the answer for curing disease.

> When there is no "the answer" other than "kids and abrasive belts moving at 6 miles an hour don't mix"

Kids don't mix with a lot of things that still fill our houses because we designed them to be as safe as they reasonably can. Even your lowly power outlet isn't just 2 hanging wires with a warning post-it because someone smart enough thought it'd be a bad idea to expect humans to not make mistakes. The live wire buried in the wall, holes covered with plastic, fuses or GFCI/RCBO, etc. to keep you safe. Most of your belongings are designed to enforce some safety measures. But a treadmill operating by itself and dancing around the floor while sucking in a child is OK because the parent should have been there?? That's a bad product and an indefensible position.

Engineering for consumer devices has to be done with safety in mind and compensating for the mistakes that the customers will inevitably make. I'll leave this here:

> "It is believed that at least one incident occurred while a parent was running on the treadmill, suggesting that the hazard cannot be avoided simply by locking the device when not in use," the CPSC said.

So with your answer being categorically classified as "not the answer", the big part of the real answer is to install many protections that Peloton and others skimped on. Some of them I listed and would have prevented anyone from being thrown off, or sucked under of the treadmill unless they were going out of their way to achieve this.

> if it was as easy to make a treadmill "99.9% safe" as you're handwaving it away

It is easy to make them safer than they are now. Manufacturers just choose not to because it's cheaper that way, because regulation doesn't force their hand, and because the occasional injury or death is the cost of doing business. And I say this as someone who saw every step of this, from designing and building (up to and including medical devices to give you an idea of my upper limit for safety and caution), to setting the company strategy, in a time when there was no "move fast and break things, we'll just send an OTA to fix it".

You had multiple opportunities to understand the point I'm making very clearly but chose to focus on covering your weak position. That's too bad.
I've bought 3 mechanical keyboards in my life. 2 were within a week of each other because the first was defective and returned.

Thus far, the clearest signal for answering the question "will I buy a mechanical keyboard in the next few days?" is "did I just buy mechanical keyboard?"
I had a similar super-creepy and definitely not just a co-incidence experience a while back, which I shared on HN[0]. Short summary is that it was almost certainly the result of Google buying my credit card transaction data from Mastercard and using it to personalise my Google news feed.

[0] https://news.ycombinator.com/item?id=20884687
This has happened since banks started selling investment products, wealth managers simply pull up a list of cash heavy accounts who haven't opted out of marketing where they can push investment products. Think is biz model private bankers and 'Wealth Management' arms at banks are built upon
Good. RMS did nothing wrong really, and is the victim of a pile-on by people who can't tolerate others' opinions.

I'm glad to see that Debian isn't caving to the ignorant masses here. The FSF under RMS's leadership has done more for computing freedom than any other organization.

So what if RMS is outspoken about his beliefs? That's exactly the forthright attitude that enabled him to succeed in promoting the GPL so widely. We should all be very glad of this, and not condemn the man just because a few whiners can't deal with someone disagreeing with them.
I think looking at the "new IP" proposal and concluding that "the Chinese have really different values then the west" is myopic. The chinese government is authoritarian and has a clear agenda. Assuming it reflects the values of the people is stupid. The chinese people may be goaded into nationalism and tricked (via propaganda) or pressured into supporting the government, but I think it's not correct to conclude from the government's actions anything about the people's values
As a user of software, I have to add that it is nicer to have the features, and I don’t find myself worrying about what hacks went into making it. Most of the time.

I know there are exceptions, but, usually I’d rather a company be customer focused and deliver a product I want, rather than worry too much about the methodology they use to deliver it.
That is not enough to create a cycle. Option 7 would still beat option 4 via option 3 with 8 and via option 2 with 4 votes. Note that there is already a cycle between option 1, 3, and 4. You're right that it doesn't take that many votes to create more cycles and complicate the process.
If/when Tether collapses people will escape it en masse into bitcoin and ethereum.

Paradoxically, it can lead to the prices in crypto shooting up, not down.
That's fair.

I haven't used Brave at all. I can appreciate wanting the ad-blocker being built in. I guess I've been using ad-block add-ons since... they first existed (I remember being excited about FF 2.0), so I'm actually kinda leary of built in ad-blockers (alignment of interests and all), but I can also appreciate with Brave is trying to do with BAT and all.

I guess I naturally stick with FF (despite being annoyed by many of their changes) since I can (or at least I think I do) appreciate the magnitude of what they're trying to do, as well as the realize that while it's okay to hold them to a higher standard, what it feels like is that a lot of people hold FF/Mozilla to a really high standard, and then Chrome/Chromium to different (typically lower) standard, and when FF comes short of their high standards, they just switch to Chrome/Chromium without actually directly comparing the two browsers to each other. Like if FF can't be the fantasy magical piece of software they want, they may as well just use Chrome/Chromium.

Rant over.

I hope FF keeps the dev-tools. I'd be in a pickle too if they went away.
It's worth noting that HOPE VI and the demolition of public housing solved the immediate problem of "the housing projects are dangerous" but did not solve the deeper problem of the people in those projects and their communities having issues with poverty and crime. There is some debate about whether or not HOPE VI demolitions mostly just served to disperse crime around a city rather than keeping it in problem areas; I can't find the articles anymore due to Google's dislike of older material, but it was blamed for general citywide crime issues in Chicago, for example.

(It was also a political marriage of convenience because in the '90s, railing against welfare was in vogue, and HOPE VI generally did not result in 1:1 replacement of public units, so it was a backdoor way to reduce the population on welfare.)

I don't really think the issue is density. Plenty of low traffic, low density suburban areas have high crime as poor people move into the suburbs; public housing had few eyes on the street because the design intentionally kept out passersby, and if anything suburban neighborhoods with high walking distances, mazelike streets and inconvenient, unpleasant walking environments are more extreme than that, and also have lower amounts of residents to boot. At least in NYC (and probably true of a lot of very inner-city housing projects) the towers in the park usually replaced existing urban neighborhoods at far lower densities than what had previously existed, because so much of the land was just idle greenery (that usually wasn't useful, in the form of small, segmented lawns often fenced off). Compare that with, say, Vienna, where the masses are housed in public housing in large midrise (5-10 story) buildings.

Coincidentally, this large midrise form factor is also what dense gentrifier buildings look like in many cities around the US, from Seattle to DC.
Thanks for the note! Doing opportunity sizing early in the product life-cycle definitely helps with this type of situation. Though, I've found it only really helps when it's a forward looking analysis or (rarely) when part of a no-blame retrospective.
The "11:11 on the clock" story has also been repeated by millions of people for decades. That many people fall prey to a cognitive bias does not make it any less of a bias.
>But it's important that we're at least honest about it because of the effect it has on people's (especially men's) own body images and ideas about transformations.

Steroids are mostly there to aid recovery from the otherwise unmanageable amount of work one puts in. Most people are limited by their willingness to put in the work and never reach the point where steroids would be required (or even make a significant difference).
My issue with the whole idea of background recording for advertising is that it would be incredibly costly to store this data, transcribe the audio and turn it into anything even remotely meaningful for advertisers. I also don’t know a lot on this subject so if anyone has better info that’d be great.
Turkey Bans Cryptocurrency Payments
As a native English speaker (and former English teacher), hope this helps:

> getInstances(); // ok, returns an array of instances

Correct.

> getInstanceId(); // ok, returns an id

Correct.

> getInstancesId(); // ??, returns an array of id

Unusual, but would return a single ID referring to a collection of instances.

> get InstancesIds(); // ?? returns an array of id

Correct.

Though more common would be getInstanceIds() since you don't need to pluralize twice. E.g. we don't say "blues shoes", we say "blue shoes", so these aren't "instances ID's" but "instance ID's".

However, in naming functions or variables you'll sometimes see plurals repeated for clarity. E.g. getInstanceIds() is ambiguous because it could refer to the ID's of multiple instances, or multiple ID's of the same instance. While getInstancesIds() makes it clearer that it's the ID's of multiple instances, even though it's not actually grammatically correct.

> getIdsOfInstances(); // ?? returns an array of id

Same as getInstanceIds(). Both are correct, though getInstanceIds() would probably be more common -- most people wouldn't put in the extra word "of" simply because it's an extra word, but sometimes it might be clearer for consistency with other function names.

> getAllInstancesId(); // ?? returns an array of id

It would mean the ID for the collection of all instances, though that would seem very unusual. Perhaps if there were a global account ID for a service or API you used.

> getAllInstancesIds(); // ?? returns an array of id

Sams as getInstanceIds(), but "All" presumably means it doesn't include a parameter to filter -- so I'd assume this implied the existence of another function such as getCollectionInstanceIds() or similar that it was contrasted against.

> How do I conjugate that ? And what about the possessive `s`?

Obviously you can't or shouldn't use apostrophes in variable names, so people generally try to avoid the possessive s. That's why we generally change nouns to noun adjectives -- instead of "computer's ID" (computer = noun) we use "computer ID" (computer = noun adjective).
Thanks for the note and I'm glad the piece was useful!
Lots of paid recomendations on this thread. There's also Umami[1] which is free, open source and self hosted.

I've not used it yet, just have it bookmarked for my next project.

[1] https://umami.is
Row for option 2 is:

Option 2 137 168 165 239 227 199 222

222 voted for option 2 over "we should talk about this further" (default position), which is ~53% (222/420).
As someone who only does a frontend/full-stack project once a year or so, I do feel like some of this tooling mess is getting better.

On previous projects I remember the frustration of futzing with Webpack and Redux. Now it seems like React has matured and simplified nicely and Next JS is a beautiful framework with a great balance of flexibility + power with some reliable guardrails to work within and boostrap a basic React project.
I have literally never received a bonus that was present on an offer. Not that I'm a terrible employee they have invariably been cancelled or otherwise unreachably cancelled before I received a penny. Sometimes it was a full cancellation, sometimes it was a change in the language that would tie bonuses to unreachable revenue goals (very difficult needle to move as an engineer, at least in the 1yr time scale).

I have basically come to see any kind of potential money as never going to see it money.
Why would you need to say where you got it from...?
fixed. thnx.
As a response to those who asked questions here in the comments:

When I finally overcame the shock, the very first thing I did was to ask her if she, or a guest, indeed searched for, or otherwise "input" anything related to usb-sticks or water-proofness into a computer system. The answer was no.

I don't know what to make of it. I don't want to succumb to conspiracy theories of the sort that ambient sound is recorded by our devices at all times. Most plausible explanation is perhaps the one about cognitive bias.
The most interesting thing here is that this tutorial has been translated to around 50 languages! Rust tutorials and documentation are abundant in English, but the resource is much scarcer in most people's native language.
Andreessen Horowitz Values Clubhouse at $4B with DST, Tiger
For some reason I emotionally want it to play perfectly. I would probably take the note data from multiple runs and use it as a basis to learn/memorize what the notes should be (like a human). I guess I’m looking at it like a TAS (tool assisted speed run) and try to perfect the inputs, even manually if necessary.
I recently came across a 15 year old bug in qt involving both time comparison _and_ cache invalidation: the code was trying to set timers to fire when the next cache entry was set to expire, but the timeout was in seconds while the eviction code compared milliseconds. The result was 100% cpu usage for up to a second as the timer spun without evicting the cache entry.
You are not the target of this corporate message, the investors are.
My last lease contract was written in English, which I can read. If it was written in, say, Solidity (Ethereum programming language), I would have had to hire someone to read it for me, or sign it without understanding it. That was the point.
Pathologic Antibodies to Platelet Factor 4 After ChAdOx1 NCoV-19 Vaccination
There's got to be a relationship between North America's obesity crisis and the design of its cities.

In so many places in NA you are forced to get into your car to go anywhere. You're in your car to commute to work (where of course you sit all day), in the car to get groceries then back at home where you sloth on your couch, or desperately sweat on the peloton to try to make up for the fact that you sat in your car or at the office all day.

It's an incredibly stationary lifestyle that is forced by making it impossible to walk or use active transportation to do anything.
Global death toll passes 3m as pandemic ‘grows at an alarming rate’
I like to think of the valuations as lower-bounds.

There are people out there who will pay for discounted income streams, and they put a pretty good floor on prices. There are people out there who will pay for book value when prices drop too far, and they provide a (different, weaker) floor on prices. There are people who will pay for brands and memes and so on, and they provide different floors again. And then throw in different discount rates, different projections of the future, different tastes, you get the picture.

None of these lower-bounds provides the price. If I have a company that just holds $1 in a bank account at 0% interest, an income-based valuation says it's worth $0, and a book-value based one says it's worth $1, so it's worth at least $1. But if I have a goose that lays $100 bills every day, it's worth a lot more as an income stream than it is in book value (as a goose.)

There are some things that provide upper-bounds. When prices are too high, companies should issue stock and (incidentally, not as a goal) drive the price down -- this is "raising money cheaply". But in practice this is usually a pretty weak force. The bitcoin equivalent (mining) might be stronger because there are more market participants on the supply side.

Anyway, with interest rates at zero, high savings and lots of spare time and boredom, the income- and meme-based lower-bounds are causing prices to do interesting things.