skysight-inc/HackerNews huggingface dataset:
I see Argentina's exchange rate is about 60 Pesos per 1 Dollar. While that's not false, the government recently imposed a 30% tax to all foreign currency purchases. So while the exchange rate is 60 the final price you actually pay is 80.

This is assuming you can even buy foreign currency in the first place; people are limited to 200 USD per month.
Hacking Brain-Computer Interfaces
>Why wouldn't you want your job to look easier?

Automation has taught us that if your job looks easier, it takes substantially fewer of you to do it. Data scientists, in this instance, seem to be protecting themselves from what has happened in manufacturing for the last 50 years.
All of them was or are based in Sweden. After being bought by other companies some of them are no longer based in Sweden
I was thinking about that over the weekend and it crossed my mind that the software industry doesn't the "blue-collar buffers" that other industries have.

This may sound elitist, but it is just the contrary. We are systematically raising the bar to those who wish to join our industry. As a result, a mass of (apparently) highly skilled workers, some of those eager to explore the frontiers of human knowledge, is now responsible for the conduction of less exciting chores.

__Provided we make sure that those with no academic degrees can be offered dignified work conditions__, that must go.

You don't have an Electrical Engineer do you home's wiring.

You don't have a Mechanical Engineer fix your car's fuel injection system.

You don't have a Civil Engineer lay bricks on a construction site.

Is that the sole reason those industries seem extremely mature in comparison to the software industry? Honestly, I don't know, but it is certainly an indicator. The artifacts they produce, and their body of knowledge, is so reliable and powerful that everyone could attend a six-month course on it and make a decent living afterwards.
The Google garage is a myth (2013)
The line count isn't not "real" just because it isn't how a mindless autoformatter would do it. The formatting conveys actual information. A line expresses one "thought". Laying it out horizontally allows the vertical direction to be used to visually convey the repeating pattern

else if (tk == Mul) { next(); *++e = PSH; expr(Inc); *++e = MUL; ty = INT; }
else if (tk == Div) { next(); *++e = PSH; expr(Inc); *++e = DIV; ty = INT; }
else if (tk == Mod) { next(); *++e = PSH; expr(Inc); *++e = MOD; ty = INT; }
Faster than CPython? ;)
Don't peel the onion all at once: an interview with Alexey Grigorev
How to Use Hibernate Attribute Lazy Loading
I've written such a rant almost a year ago. [1] The article shows how to build a « RESTful » API secured with sessions implemented using regular cookies: simpler & without unnecessary complexity.

[1]: https://zaiste.net/creating-secure-rest-api-nodejs-without-j...
Give me a few months, then. :P

If they agree it's a good idea, it should pick up quickly.
Thank you, yes I will certainly change all my financial set up based on no further information these two alarming comments. Who needs to look further into things - they are all the same after all.
this, combined with the chronic underfunding of long-form journalism because we have shorter attention spans.
What about the X clipboard, e.g. just selecting text and then being able to paste with middleclick - did you check that as well? I suppose it should circumvent that?
You mean specifically because of the real-time-ness of it? As far as I understand, with professional video editing tools and skills, this camera-in-fixed-location removal is trivial.
>it is obvious that it would do just as well at the full game excepting that OpenAI didn't have the stomach to try and tackle the engineering challenge for no reward.

That's an interesting interpretation. My interpretation is that they simply weren't able to do it yet (not for a lack of trying though), and so they gave up. It's not obvious at all to me that there is a way to simply scale their approach to the real game. I mean, certainly there is a way with infinite computing power, but it's not clear to me that even with all the computing power on earth currently this approach would work. 18 out of 117 heroes does reduce complexity quite a lot, especially when you pick ones with less complex mechanics.

>They weren't even trying to abuse the reaction time of the computer

They introduced a constant reaction time, but they still "abused" the interface they are provided. If this was a task in the real world, the AI would have the same interface as humans: The screen. They would have to move the screen and run object recognition algorithms on the rendered values, and they would have to "click" on units (not physically) instead of being able to internally select them. This would introduce completely different (and more realistic) reaction time parameters, because if a hero starts an animation it might not be immediately clear which animation it is in the first 5 frames, but the API will provide the value immediately.

AlphaStar's strength dropped considerably for example when they realized that the AI being able to perceive the entire map at once was an unfair advantage and restricted it so that it had to move the camera around. But still even AlphaStar is using an API instead of just the rendered output, which enables things like selecting units that are hidden behind other units, which for a human player is literally impossible without moving it out of the way first.

I think for AI to be able to claim that it is better at a game than humans, the AI ought to be playing the actual game, and use the same interface. (Not necessarily physically, you don't need a camera and a robot, but the AI's input should be the rendered output of the game, and the AI's output should be mouse movement / key strokes.)

You might think that would be a trivial and useless exercise (like it would be in Chess/Go), but I'm really not convinced of that for video games. There are a lot of examples where even playing a frame-by-frame recording of a fight you just can't tell what exactly is going on in a fight until a couple frames later, but the API will always provide floating-point accurate data of everything. This is a huge advantage that just doesn't translate into real world tasks when the AI has to use cameras and sensors to make sense of the world (in automated driving for example) just like we have to.
I used it extensively in my PhD thesis for solving nonlinear eigenvalue problems that arise from Maxwell's equations. It's a great tool, in fact one of the best tools for scientific computing I ever used.

We also used it extensively for teaching, since you can implement a lot of cool things without having to worry to deeply about programming or CS.
EU rejects Facebook’s proposals for online regulation
Did you ever hear the origin story of Ribbons? A smart person at MSFT petitioned Billy G directly about it! It was really a bold move that not a lot of peers supported, and look at what a good move it ended up being. That said, if you can expose a button instead of hiding all the juicy details in a dropdown, you ought'a.
HN has a timer you can turn on to avoid procrastinating on other things by spending all your time here. I tried it in the past and it does work.
Just do a Tell HN: Bank of Foogistan stores passwords in plain text.

Don’t agonize about it so much it’s not like you’re going to hurt the banks feelings.

No one will notice or care anyway and banks deserve what they get if they do this.

And if the bank does pay attention they’ll just fix it and move on. Don’t know why you feel this is such a big deal.

Who would you tell that would even care? I can’t imagine the police jumping into their car with sirens screaming. “I wish to report a terrible crime”.
Well, if you are going to be passing something as your own work, you better understand it well.

Also, you should look at least at the docs of the packages you install.. And since most SO answers are shorter that introductory section of most docs, this means reading and understanding entire answer.
I only trust video from cnn.
"the world held its breath" ? In truth, no one gave a ...
An Introduction to Python for Unix/C Programmers (1993)
Wells Fargo used to require that a new password be sufficiently different from an old password. e.g. if my password was "Madison111$" I could change it to "Madison222$" except that when I did so I would be prompted to change it again the next time I logged in. Since I always iterated on a version of my password this was an issue. The reason was explained to me when I finally called and asked why I was being required to change my password every single time I logged in. So, I changed Madison to Matthew and was good to go.

Not sure how they were doing that if they weren't storing the password in plaintext.
Ask HN: How do you figure out if people want what you're building?
I'm building a better version of location based chat app. It's mostly for learning purpose but I also want to figure out if it is something that people may want.
There are a lot resources talking about this problem but I want to hear more stories, your thoughts and how would you figure this out.
The risk profile of storing something in S3, where your data is stored in at least three different Availability Zones is completely different than a Managed Server or VPS where, if you so chose, it might be stored without any redundancy at all.
Move your money. Support your local/regional banks.
You’ve assumed the end goal of having the work be accessible.

The person you’re replying to has a different goal of paper acceptances or citations.
So Bezos gave other people’s money to other people, they built something, and he deserves all the credit?
Yeah, I have a physics / GR background, so MTW is the lens through which I see all of this. That and Schutz's Geometrical Methods of Mathematical Physics.

I agree that we don't need coordinates. Things are things.

But what always got me about the geometric algebra stuff was that they used bivectors for areas, which seems like the wrong thing. If you're integrating a vector field over it, you want a 2-form, not a bivector. I suppose the distinction doesn't matter as long as you're just in Euclidean space, but even then, if you need to drop down to coordinates and do the actual integral, you're still going to want to have changes of variables that work. That leaves me with a kernel of doubt that they're doing the right thing.
Almost half of connected medical devices are vulnerable to hackers exploiting
Hydraulic ram
I addressed those points implicitly. Those names are meaningful, in context, to the people who understand the language; just as symbols in math are, in context, understandable to those who understand mathematics. And thus there is no need for comments. Arguably, there are too many comments, because I saw many that said something obvious without adding anything useful. Short identifiers aid reading for people who understand the language, because it allows them to focus on what the code does (or, rather, how exactly it does it) rather than what the things in it are (which is obvious to people who understand the language).
Anti-vaxxers are relentlessly criticized everywhere. They don’t have a protective social bubble. The criticism they receive from people they assume are brainwashed idiots only strengthens their beliefs.
"Europe" is not a single place with one set of regulations - in the UK for instance there is no branding on packages at all. It's called "standardised plain packaging":

https://ash.org.uk/category/information-and-resources/packag...
Inspect NSPasteboard
Closure, the printer spool “book” in question, is one of the best works on the philosophy of software engineering and life on the modern internet ever written.
Another Demise of a Storied Business at the Hands of Private Equity: Fairway
Do developers take full responsibility for security?
How about you tell us?

How did it work out?

You can’t allude to something juicy and say nothing.
Reminds of the movie "Rising Sun"
Finite-State Transducers for Text Rewriting
Bug in WordPress plugin can let hackers wipe up to 200k sites
Mozilla,
Parse.ly,
Doximity
I don't see how normalizing or not normalizing it will have any effect whatsoever on its proliferation. No country acquires nuclear weapons to actually use them. Instead, it is (rightly) viewed as a great deterrent/insurance against being invaded and overrun.
... and fuel/user taxes tend to only pay for something like 50% of the road cost. The rest ends up being a government subsidy for road shipping which might be reexamined if electric trucks ever become a big thing.
Facebook’s political ad problem, explained by an expert
IRS warns: Tax data thefts are spiking, so use 2FA
Agreed. The wipers could be better. I haven’t encountered the unlocking problem though. What did Tesla say?
Never heard of it, but I'm always happy to be part of the 10% of exceptional people.

Thanks for the explanation!
Loving the retro look of the controller! I find it a bit confusing that you have letters R, G, and B on the controller but you're modifying the Hue, Saturation, and Brightness values on the editor. Just a small nitpick.
slightly tangential question: does someone know of resources that i might be able to use for plotting mesh surfaces f.e.
z = f(x, y) ? all online resources seem to point to howto use surface plots in either matplotlib or gnuplot or some variant thereof. thank you kindly !
Google Pixel 4a: Release Date, Data Sheet
I highly recommend watching "Deconstructing REST Security" by David Blevins:
https://www.youtube.com/watch?v=9CJ_BAeOmW0
It seemed usually only a "problem" initially when setting things up. I had a homebuilt system with:

- Adaptec AHA-2940U2W w/ internal and external ports

- IBM UltraStar 9 GB (!) U2W 25L1910

- SCSI Plextor CD burner (before DVDs existed)

- IOmega ZIP External SCSI drive

- Plextor External SCSI CD changer

- SCSI scanner

- Internal TEAC SCSI 3.5" floppy drive

- Internal SCSI tape drive

For the era, SCSI worked pretty well. That was back in the day when I had an early Zalman copper CPU heatsink with its 7k RPM, 1U-server-loud Delta fan.
It seems strange that compose u o → ů is u-with-circle-on-top, but compose U G → Ğ is G-with-u-on-top, since it means it's sometimes modifier-first and sometimes base-first.

(FWIW I use the compose key! Just not those particular characters, my set is incidentally consistent :-))
There's plenty of great long-form stuff out there. You just have to know where to look. This one came to mind, from 2016, but it's just what was at the top of my stack:

https://www.motherjones.com/politics/2016/06/cca-private-pri...
Procedurally Generating the Universe
Finalists: Guthman Musical Instrument Competition
> The clipboard should not, nor should applications be able to, alter the copied content from the visibly-selected content.

This might feel intuitively right, but it severly limits the usefulness of the clipboard.

It then becomes a basic plain text clipboard

Try opening an rich text editor (e.g. https://quilljs.com/playground/) and selecting two words of which one is bold. Hit Ctrl+C. What is now on the clipboard? What happens when you paste? You have your formatting preserved. The editor has intercepted the copy command and stored data only it knows how to create and parse. The same would happen in a diagram editor (a selected shape would perhaps be stored as some json representation), or an image editor.

The problem is that the clipboard as an established concept already means "area where programs write their custom formatted data and where any app can read the same data upon paste".

Restricting it might be a good idea in some cases, but it's the user expectation so it's what apps (including browsers) need to do as the default. This unfortunately means that abusing it as in the article will be possible. There is no way for the browser to know whether the changed content was formatting tags (good) or trashing the selection by adding a copyright (bad).
I can see that. In my experience, it works to have a subject matter expect at as a consultant/mentor to a few young and hungry employees. Essentially, the expert can help lead a team through big technical decisions or when there is a roadblock. However, the expert likely doesn’t want to put in the hours or do the necessary grunt work.
It’s not a piece of software worked on by a team though. It’s a personal project, written to by one person to be understood by that person, and incidentally I think some effort has been made to make the code easier to read for random passers-by on the internet. Not every piece of code has to be written to meet the same goals, there is a large spectrum.

I write both terse notes to myself, and longer more well-thought out sets of notes to distribute to undergraduates in classes I teach. I wouldn’t give the undergraduates my personal notes - they are simply too unpolished and terse - but my colleagues find them very helpful on occasion. Is it wrong to have two different ways of writing?

I would say this C implementation leans somewhere between “note to self” and “arty exploration”. Is it worth being written? I don’t think you or I could be the judge of that, but the author obviously thought so. Live and let live.
Report shows personal info on 144K Canadians breached by federal entities
JWT has many uses that have nothing to do with web browsers. The author doesn't mention anything about web browsers in the post. This line of JWT criticism needs to go away unless JWTs are being discussed specifically in a browser-based scenario.
Learning to Code? Ten Tips to Save You Time and Frustration
SO is the worst example of "poop must be delicious - after all, billions of flies can't be wrong!" mentality. As long as the answer is upvoted by enough people, it's accepted as the right one and it takes a titanic effort to correct it, no matter how wrong it is.
The Super-Cool Materials That Send Heat to Space
Uh... you tell me? I could imagine many possible answers to all of those questions.
If, say, an admin text field is supposed to have the ability to support and display HTML on an end users machine.
I see it as part of my job to do my part to improve the work environment. That includes identifying and addressing problems when I see them.

The people who should be laid off are the people who create the problems, not the ones who identify the problems and want to fix them. A good employer knows this, and will appreciate people who want to improve the company. If they fire me for speaking up, then good riddance. I'm probably better off somewhere else.
A Dispute over a Single Number Became a Cosmological Crisis
The interview in the top-level comment seems to cover that.
Who’s Profiting from Your Outrageous Medical Bills?
True, the question is, how do we ensure that they are in fact A_Players, and what is the recourse if they are found not to be A_Players or not loyal to the project/company or are in fact starting to play games, or even just inadvertently stray from the goals without mal-intent?

The tangle of thorns surrounding trying to get any kind of satisfaction guarantee, or complete alignment of interests seems rather broad, tall, and deep...
First Business Was Acquired by Citrix, His Second by Dell, and Now Raised $50M
It is definitely possible to do that. When the user submits a password to save, it hashes it and saves it to the database. At the same time, it calculates x number of variations of the passwords, hashes those, and saves those to the database as well. The next time you go to update your password, the hash gets compared against the actual previous hash as well as the x number of hashed variations and if any match, it gets rejected.

Not super efficient and in most cases, probably not worth the effort. But completely doable to do.
A mechanic capable of swapping the entire power train in a car by themselves in 3 weeks can make way more than 50k/year.
A lot of MS documentation now is awful. Azure stuff especially.

Sometimes there is just no usable documentation for certain things at all. I've even seen documentation for certain Azure things where it just directs you to Stack Overflow!
Ouroboros: Following a New Trend in Ransomware League
New Horizons team uncovers a critical piece of the planetary formation puzzle
A threadpool periodic timer will not wait for the previous tick to complete
Long-Run Trends in the U.S. SES-Achievement Gap
That makes no sense. YouTube has no policy against "junk" videos, there is no reason why individual users would change their upload habits except for a tiny minority that knowingly upload violating videos.
omg! no decency left in FOSS.
no cheapest deep archive is 0.0007 per gb month, or 70 cents per tb/mo

note they've recently reduced their pricing so you might be looking at old marketing. But my latest bill charged me 0.0007

you're right of course that retrieval in an out is much more expensive and so prob not a great fit for your usecase
Here's my understanding: a piece's value is dynamic, and it depends on the type of piece and its position on the board. Positioning leads to all other aspects you listed: controlled squares, to-be controlled squares, tactical threats, and so on... (hence the popularity of "positional" chess where there's no concrete threat or plan behind a move, only improving the position of your piece, which may create opportunities later). I believe this is also how Stockfish chess engine evaluates a position, and it has higher elo rating than any human player.

Having all those said, the type of piece is still the bigger factor in deciding the value of the piece. You don't often see a queen-knight trade for example. Queen sac is definitely something you don't see every game.
This describes my feeling about Lex's podcast as well. I was watching the interview with Jim Keller and was left dissapointed for the most part of the interview because of - as you said - lack of good follow up questions to presented statements and ideas. It's a shame really.

However if you skip trough the first about 30-40 minutes of that same interview, it get's a bit better.

Also, thanks for mentioning Sean Carroll's Mindscape Podcast, will check it out for sure.
Yes, he deserves the majority of the credit. Why do you think CEOs exist?
Support ends May 26 for CoreOS
Java cards with TCP/IP – for crypto wallets or issuing HTTPS certs
Remote working is on trial in both China and Silicon Valley
Not a git gui client but you can do this via the command line with: git merge-base <branch1> <branch2>. This will give you their common ancestor.

You can also get something similar to the tig output but for specific branches via the command line using a command like: git log --graph --oneline <branch1> <branch2>.
dammit! another sell-out of the FOSS principles
> "Most jobs do not afford the economic reality necessary to allow the employee a position of being able to afford to bargain as anything approaching an equal."

And that is a big problem. This means it's not a free market. Power is unevenly divided, and you only operate on the job market at the mercy of the other party. This is bad.

Something is needed to even the playing field and make employers and employees equals in these negotiations, whether that's unionisation, Basic Income, worker protections of some sort, or something else.
they could do it without plaintext by storing hash(/^[a-zA-Z]+$/)
It’s a fair point, but again I think that it’s a very small price to pay for the improved communication. Things do seem hard, but we solve very hard problems in programming all the time (or so it seems), except when it comes to our tools. Plain text is still king when it comes to code because it is so easy to diff (which I think is a good choice), but how about my silly comments explaining how a system works rather than just drawing it and embedding that in a comment? I think there is a lot of potential there.
Surprisingly enough. I’m perfectly capable of not logging into Facebook and choosing another search engine.

What I’m not as capable of doing without a lot of trouble is changing the government I’m under. So given a choice, a government with less power is good for my personal liberty.
Bae Systems' satellite alternative makes maiden flight in Oz