skysight-inc/HackerNews huggingface dataset:
> I would absolutely suggest that. I'd advise you right now not to e.g. take a trip to the south side of Chicago. What are you suggesting? That the government has an obligation to proactively prevent crime? Short of legal penalties, how is that done? Martial law?

I'm trying to figure out if you're suggesting that police be withdrawn from places likely to have crime. It certainly aligns with the idea that the police should ignore direct verbal or written threats to people's safety.
They do have university wide alert systems for use when the doodoo hits the fan. I'm not sure everyone needs to know about every threat though? I think you might be underestimating the number of threats that come in everyday to a large public university for instance.
Sculpt with Visual Composition
> It's terrible what happened to your grandparents (to anyone else nearing retirement, take this as a cautionary tale and get your money in something safe). But hearkening back to the "glory" days of employer-paid pensions is not a viable solution.

What is "something safe"? I was under the impression that 401ks are not really known as risky investments.
The actual Court Opinion misrepresented the actual block option. When YikYak was actually running, a proper block request could be sent to the company to blackout the GPS coordinates of a University from the app, effectively killing the local YikYak community.

The app worked based on GPS proximity -- you had to be within 1.5 miles of a given university in order to participate in the "herd" as they called it. This added a lot of character to each individual herd, even if all the groups essentially just reposted the same memes from 4chan/reddit non-stop, but with their own local flavor attached.

YikYak had for some time been cooperating with schools and universities to perform the blackouts and even advertised it as a means of compliance and battling harassment through the app.

Had a blackout request been made, it would have been effective and the above question would not have been relevant.
Abusing Amazon‘s Look Inside feature to leak unreleased content
> How do Rust programmers deal with this?

You compile with -C opt-level=1.
I frequently remark on how cuteness is treated differently in different cultures, and I really wonder if it plays a role in how cute aggression affects people.
What every developer should know about time
>Hate speech that encourages violence is illegal in the US.

That’s not quite right either. “We should violently overthrow the government/eliminate xyz people” is protected by the First Amendment. “Everyone get your guns and storm the federal building/kill these people right now” is not. (The exact line is obviously hard to discern.)
A workable solution would have been to promote the "[address]:port" representation for both IPv4 and IPv6 after IPv6 was introduced. Then we'd have a universal way to represent UDP and TCP endpoints.

It's kind of mental that my browser will accept https://1.1 today but not https://[1.0.0.1]
True, but its just a gif file on the page. I can't seem to figure out how it stops the gif animation though. I've looked into this topic before, normally you apply a canvas element on top of it capturing one frame of the image. Or you can hotswap the image / gif at end of animation. But there's none here though, neither SVG or canvas.

It stops at the end of its animation here as well too,
https://git-lfs.github.com/images/graphic.gif

I didn't see the answer on stackoverflow. https://stackoverflow.com/questions/5818003/stop-a-gif-anima...
I'm a fellow EE grad, that has been doing software for the past 20 years or so. I started studing ML a couple years ago. I started with a couple of Andrew Ng's courses on Coursera. I found it was a good mix of theory and practice. It's a really exciting field right now (a bit over-hyped, but still lots of room for growth).

BTW, I think the you may have a bit of an advantage because of the math background you presumably have with a BSEE (linear algerbra & differential equations).
Most of the UPS vehicles in Germany are Mercedes Benz diesels, but they are of course not stock. Same for DHL (though many of the smaller delivery vans are VW, some of which are actually MB). MB diesels ("Oelmotoren") are just reliable as heck.

Afaik all of these are standard transmission.
This is a partially valid point... let me restate.

About 200K lines of code is auto-generated.

A more appropriate estimation would probably be about 400k lines per year as some of this code did a big mass migration and refactoring during this time but I wrote that code as well. Just in the past.

KLOC is a shitty metric anyway.

I'd rather write 100 KLOC that worked vs 10000KLOC that was horrible.
Single data point. There are others that didn't turn out so well.
> Except in studies, where it is still inconclusive.

Please, this is Hackernews! Here we give more weight to webshit-programmer folk medicine than to big-pharma-funded "science". A raw plant-based diet, ayurveda, rolfing, and supplements of whatever micronutrients you're deficient in (probably most or all of them) should fix you right up.
The two most depressing books I have read recently are A People's History of the United States and Lies My Teacher Told Me and I wish I had read them when I was a child but YMMV.
NZ Post use these things (Paxster), and I always laugh my ass off when they’re scooting past.

https://www.nzpost.co.nz/about-us/sustainability/electric-ve...
>>> but actually reorganize their business around what can remain unique about their data (like they do about every other asset).

this.

I am advocating the idea of a "programmable company" that is the end point of automation - where once you find product market fit the rest is automated - perhaps a better phrase is market / data fit
This has been a solved problem for years in some frameworks, e.g. all the major image upload handling libraries in Rails have this built in an it's very easy to use. There are also plenty of webpack plugins for static assets:

https://github.com/metalabdesign/sharp-loader

https://github.com/herrstucki/responsive-loader

https://github.com/tcoopman/image-webpack-loader

(and many more, just grabbing a few examples)
Yep, and school shootings are way too common for university admins to ignore. They almost have to do something.
Maybe someone who actually works at FAANG can weigh in, but I would think that one of your best bets would be getting into one as a general SWE and then transitioning to AI/ML internally after a year. I recall Google even having some sort of internal program that encouraged this. Getting into Google is a moonshot, but it's possible to do so with no prior professional programming experience if you put in a ton of effort AND get lucky. Amazon seems willing to train too, based on the following experience I had:

I'm an iOS engineer without a STEM background, and I've been contacted by Amazon recruiters for entry-level ML/AI positions. I thought it was weird, but they said they've hired a few people with iOS backgrounds and no prior ML/AI experience who are now excellent ML engineers. I backed out because I knew I would fail the interview process at this point, but it's something for me to think about for the future.
I think this can be a learned response as a self defense against the constant barrage of “cuteness” we encounter through marketing. When you see it as manipulative it’s easy to see why you might get angry.

I know I have the same reaction to all of the lullaby music in commercials.
Show HN: Explore Trending Repositories from GitHub, HackerNews and Reddit
Credible threats of violence were made. Complaints about those were made to the univeristy who did nothing at all to investigate the threats. The university claimed they couldn't do anything because 1st ammendment. That argument was rebutted - one thing the university could have done was to block yikyak. No-one was asking for that to happen, no-one suggested it should happen, but it was one option available to the university.

> One thing that is interesting is how so many foreigners are so supportive of limiting speech in the US. Can I ask why you are so heavily invested in supporting censorship in the US, especially since you aren't american?

A more interesting thing is how few Americans bother to read the original court documents to understand what's really going on and who then leap to yelling CENSORSHIP even if that isn't what's happening.
> The analogous solution to "a simple script" is "a simple graph", i.e., abstraction.

Right and abstraction is exactly what doesn't work well with visual languages.

With a script you can do a for loop from 1 to 3000. With 3000 components connected to one node in a visual language there is not obvious facility to handle it. You can think of group functions in components/namespaces/folder maybe. Or say generate implicit connections where they are not really drawn on the screen.
Lucid LSD Trip Report from an Anonymous Reader
This article is likely to get heavily down-weighted on HN, so before that happens, I guess it's that time again for a what-can-you-do-about-it post :)

To start, here's my favorite climate change joke: "They say we won't act until it's too late... Luckily, it's too late!"

==So what can you do about it?==

I work in cleantech, and you should, too! Solar and wind are economical, so now the biggest issue is scaling them up. That means tons and tons of problem solving, which means great tech and engineering jobs!

If you think about it, the switch to renewables means we need to deal with situations where the sun isn't shining and the wind isn't blowing, yet still keep the lights on. That means you have to build in a ton of storage and load control, which means good communication and analysis, which means software! Something like half of the impact of the energy transition will be done through software optimizing the deployment and operation of clean energy assets.

Anyway, please check out my previous comments on recommendations when looking for climate impact work[1].

Also, working in cleantech can significantly reduce the feelings described in this article. Think of it like exercise. By working at it, your body naturally replaces anxiety with optimism and motivation. Physically doing something to fight your anxiety will make you feel better.

[1]: https://news.ycombinator.com/item?id=15127154
And their indestructible canoes (that weighed a ton).
In decline and fall of the Roman Empire, Gibbons focuses a lot on the people’s climate fears. The people believed that there was nothing that could be done and that they deserved nature’s wrath.

In the 1600s, Lisbon was leveled by an earthquake. Some thought that God was punishing them others saw it as an opportunity to rebuild and grow stronger. Today, Lisbon is one of the most beautiful cities in the world.

I pray for people to end the fear and believe in a bigger future. Happy new year.
The real bomb-shell here that I find terrifying, is that there is still an open and (likely) exploitable bug in glibc that has been around for years and isn't getting attention. glibc is everywhere and used by almost everything. If you program in almost any modern language like ruby, node.js, python, java, C, C++, or more, you are calling functions in glibc.

Note: Unless you use an alternative libc implementation such as musl, which is standard on things like Alpine Linux for example. However glibc is by far most common.
> -1% negative impact on core business metrics including conversions in our test of JPEG-XRs [...] Let’s not use JPEG-XR on the Web.

Is this an overreaction, or a subversive call to improve the decode perf of JPEG-XR? I'm certainly on the performance-is-a-feature bandwagon myself, but 1% ux impact is pretty small. And shouldn't we assume that decode perf will improve in the near future? Is there any reason to assume that this problem is permanent and unfixable?
If you are interested in memory techniques, there is a good book with an interesting historical backdrop of a catholic clergyman who traveled to china.

"The Memory Palace of Matteo Ricci" by Jonathan Spence
I'm from India and packages there are always delivered in person. The delivery person knocks your door and if you're not there, the package is either delivered to your neighbor or another delivery is attempted. Why is this practice not prevalent in the USA?
Yes, a variety of products exist in the U.S. But when I did limited research in the past, I found high fees and low returns.
How good is Talon’s speech recognition? It would be nice to have a better native Mac solution.
I notice this doesn't mention hinge loss, which is by far the simpler way of arriving at the SVM. Hinge loss is just max(0, 1- t*y), where y is the output of the linear model and t = +-1 is the label. Thus, it takes the common-sense approach of not penalizing losses that are far enough away from the decision boundary, and penalizing linearly after that.

An SVM is literally just a linear model with hinge loss instead of log loss (logistic regression) or squared loss (ordinary linear regression) in primal form. For apparently historical reasons, it is usually derived from the "hard-margin" SVM in dual form, motivating with trying to maximize the margin. This is complicated and not very intuitive.

This also causes people to conflate the kernel trick and the dual form, while in fact they have nothing to do with each other. You can use the kernel trick in primal svm just fine.

Stochastic gradient descent can also be used for primal methods, while it doesn't work in the dual. That makes it much faster for large problems than the dual.
Article isn't about getting angry. And it's not necessarily about volume of cuteness, but rather intensity of a singular moment of cuteness. When my wife hugs our cat and he's being all cat cute like, she'll remark how she wants to squeeze the life out of him because she just can't stand how cute he is. I feel like that's rather common, and has no tie to anger or actual physical aggression.
Devs stay in one place like 15 months

Occassionally a 2 year stint just so some Gen X-er that reviews their resume’ doesnt consider them too noncommittal

No need to mince words about people leaving
I agree. People should be informed and responsible. Adaptation is going to require a lot of changes. Might as well acknowledge them and start dealing with them (as you suggest).

I found the article to be anything but responsible though. More like hysterical.
JSX makes your eyes bleed? Perhaps you would love E4X as well! Pretty much same concept:

var someXML = <text>Why not?</text>;

Sadly, it's no longer supported in Firefox, but there are some ECMAScript variants still supporting E4X syntax, probably most notably ActionScript 3 as used in Adobe Flash.

Personally I love JSX, since it gives you all of the same power as template-based languages with virtually turing complete DSLs, but with JavaScript instead of a DSL. Not always as elegant, but almost always easier to understand.

My only real complaint is what JSX compiles down to. I think that it should either compile down to some data (like JSON data) or JSX should just be an alternative function call syntax. Instead, it compiles down to calls to React in most implementations (though usually, like with TypeScript for example, you can customize what it calls exactly.) The calls also vary depending on if the tag is lowercase or uppercase, since that's how React tells primitive tags apart from components. Frankly, a little ugly.
Weren't they aluminium?
This is the kind of success story that I hope to emulate. Good luck with Your FAANG quest. That definitely will open more doors for you!
I've recently learned that Russian LiAZ 677 aka "cattle truck," which I rode almost daily through most of the 2000s, is already considered "retro"―because it was in production since '63 till '94.

It's quite jarring to see what was recently your daily ride, in a procession together with buses from the 50s.
I've used Downshift before and while I like the idea, what I am suggesting is broader in scope. A set of primitives such as Overlay, Rectangle, Circle, List, Row, Column, etc that still allow you to apply styling but overall they sit at a lower level of abstraction than ready-made components, even ones based on something like Downshift.

The more I think about this the more I feel like I'm describing exactly how "Qt Quick"[1] works, the declarative user interface markup language that is part of the Qt Framework. Of course, it's not a web technology but it would be interesting to see a web-based framework/lib based around some (if not all) of the ideas found in QML.

[1] http://doc.qt.io/qt-5/qml-tutorial1.html
I googled around a bit and it appears that "There isn't a way to make steel at any scale without using coking coal in the furnaces." is a coal industry talking point.

Here's a 2013 article about making steel without coal: https://www.scientificamerican.com/article/cleaner-cheaper-w...

And something from 2018: https://www.technologyreview.com/s/611961/this-mit-spinout-c...

Not proven at scale yet, but it appears to be more promising than many other unsolved climate problems.

Also, natural gas is already being used at scale to make steel, not a complete replacement of coal, but a big reduction.
I wager that a limitless supply of "other things to buy" will spring up, just as it already has today.

Clothes, cars, boats, planes, watches, electronics, vacations, fancy meals, you name it...
I feel like we pushed features into the architecture and called it a day.

Otherwise, why we would we need a gazillion architectures for different problems (or even the same exact problem)?
401(k)s are fundamentally about the tax treatment of a certain class of employer-affiliated individual retirement accounts. There's a reasonable range of securities that can be held within a 401(k) account (often at least partially at the account holder's discretion) and some of those securities are considerably more risky than others.
TFA links the opinion in the very first sentence.
Don’t take design critique as an insult
Not a full answer, just an observation: most ML people I come across don't have CS backgrounds. Many have backgrounds in physics, math and other STEM fields that have a strong computational component (my own background is in control systems, math modeling and numerical computation).

From your question, it sounds like you want to be a software engineer rather than an ML/AI engineer -- is that a fair assessment?
If you're willing to do the maintenance, vehicles can last forever. Most cars will last a very long time if you keep up with the lubrication maintenance.

But the mail trucks are perfect candidates for replacement with electrics.
Webpack also warns you about large assets by default, although the limit is 250KB, which isn't great.
Most parts suppliers to safety-critical products have been in business for a while and have established a culture and internal checks-and-balances to ensure quality. It takes time to build up such a reputation and known-how to demonstrate to customers that their internal processes ensure quality. You can't just claim it's "good", you have to show it's good from start to finish. Reputation is hard to gain and easy to lose.

China's industry is relatively new, and may not yet have gotten to this stage yet.
I was just about to post a link to that video! I think it's mostly spot on. tl;dr -- It would be better to replace those things, and Tesla is probably the company to do it!
Video: How does a whip break the sound barrier?
Hacky New Year!
This isn't so much Reason as the Volokh Conspiracy (who used to be independent, then were hosted at the Washington Post for a few years, and now are at Reason). Specifically this is Eugene Volokh, who is usually very careful and said this in TFA: "I'm traveling, and thus won't have time to post a detailed analysis myself, but here's part of the analysis from Samantha Harris at FIRE:".
OP means appending ` (2000)` to the title as a year-published annotation, to disambiguate from current events. This is commonly done on HN.
Unless you are deeply involved in another modern JS framework (ie angular) then these sort of intros leave a lot to be desired - I would say that you need to learn the whole "how JS is done now" - something similar to ejecting create-react-app and then walking through all the config files that have appeared and explaining what they mean
Ask HN: Anyone coding from a farm or homestead?
Interesting. I just remember the days of the add-on hardware boards for real-time MPEG2 encoding for DVDs that were pretty much obsoleted when some sort of upgrade to the CPU was made. I officially went 100% software/CPU encoding in 2005. However, it looks like something more specific from Intel called Quick Sync came out in 2011.[0] This is a dedicated core on the die. Do browsers get access to that level of hardware?

[0]https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
The problem is not a "twisted form of capitalism". The problem is us. In the 1950s, a family could live on one blue-collar salary. You could probably live on a single blue-collar salary today, too - but you'd live like people did in the 1950s. You would eat out very rarely. You wouldn't have college debt because you wouldn't have a college degree. You'd only have one car. You'd have only one TV for the whole house. The kids would not have huge numbers of toys, and nobody would have huge amounts of clothes.

The problem is, nobody wants to live like that today. As soon as we have more income, we "need" more - more clothes, more toys, a better car, a nicer house in a better neighborhood. As we get more income, our "needs" change, driving our expenses to almost exactly match out income.

This is especially true when you have kids. If you can afford it, you're tempted to give your kids those ski lessons... that summer camp... that vacation to Disneyland... a car when they turn 16. It feels heartless to say no when you could say yes. But if you say yes to all of it, you'll spend as much as you can afford (and maybe a bit more besides), because there's always something more you could give your kids.

Note well: This is not a criticism of those with low incomes who are struggling to make it. It's a criticism of those of us with fairly high incomes who still struggle to make it.
In short, no. Not for practically large models used in common tasks like image classification or speech to text.
TV detector van
I don't know if this is the norm outside of SV. I typically stay four years at a position and almost every interview I've had, people will comment about how short of a tenure that is.

It's definitely not unusual for developers to stay in roles for a decade or more. Especially very good ones.
The articles on HN are great but the comments are we keep me coming back, hilarious. Have to run, need to catch my bus.
Depression can be a symptom of Celiac disease and the effects you've seen from your diet change would be consistent with that...have you been tested for Celiac? Did/do you have any of the other symptoms associated with that condition?

If you haven't been tested, you should have your doctor get you the blood test since knowing for sure may point to other things (e.g. beer) that you should stay away from and may inform other medical decisions.
Finland is the heir of the Roman Empire though: https://i.imgur.com/eNuUdTd.png
That’s true. But some vehicles are longer lasting than others. But it’s pretty common for taxi vehicles to hit a million kms.
Yes. I have been contacted by Google recruiters multiple times for SWE role(though my resume has no programming experience at work). Apparently, their entry ticket involves reading up Skiena cover to cover and Leetcoding your way through their interview process, which I am absolutely open to.