skysight-inc/HackerNews huggingface dataset:
If you’re only supporting USD, I would prefix the input with the dollar symbol, I.e. so that it appears to the left of the input rather than as a part of the input itself. This signals the website is accounting for the fact that the given value must be a quantity of USD.

You can use a type=number input and prevent bogus fractionals by setting the ‘step’ attribute on the input to ‘0.01’. This will do two things: the up/down clicker buttons will increment/decrement by 0.01, which IMO is all they’re useful for, and the browser should restrict values to two decimal spaces. Of course you still need to validate this on the backend.
Love the illustrations. How did you make them?
Ask HN: Experiences with Pathrise?
I stumbled on to Pathrise[1] recently, which is sorta like Triplebyte in that they make sure you're what hiring companies are looking for, then have those companies "apply to you", but there's a twist: you sign an income sharing agreement where you pay a portion of your income for some amount of time after getting hired to Pathrise.

Now at first glance I thought "whoa what the...!?", but thinking about it a little more, that certainly provides at least a non-zero incentive toward serving the job seeker. Doesn't mean they won't serve the hiring company more - hence my reasons for asking about experiences here - but at least it's not like they have no reason to serve the job seeker either.

That said, I've never heard of them before, so I'm a bit...cautious. Has anyone else here used them, and if so, how'd it go? I want to hear it all - the good, the bad, the ugly, the weird, the funny - whatever ya got.

Thanks!

[1]: https://www.pathrise.com/
My guess is https://stratcomcoe.org/
I think this is close but I have an impression that local governance is poorly served by the internet. A lot of local news has collapsed, and people read severely centralized news from a few counties. The audience, therefore, of these sites in tremendous and heterogeneous, and they would rather focus on topics of common interest. So there may be nothing written whatsoever about your congressperson, but both Donald Trump and Nancy Pelosi have ice cream scandals.

During the 2016 election, when I had my ballot, I tried to just Google everything on there. The most alarming thing I noticed was the absolute lack of any press on the House of Representatives candidates. I had nothing to go on except a short biography of each candidate (in one article), and one of them had a YouTube channel of little substance.

In practice, so many of America’s problems, and so many problems that Americans are very conscious of, are local issues over which the president has little to no control. Zoning, rent, real estate, roads, education, policing. Locally governed, locally funded, locally hired.

But the local press is gutted. For any of these topics, the audience is microscopic compared to “the president dumped feed in the Khoi pond”.
Yeah. A global tax would solve it.

What about a really complicated solution, since a global solution is not going to happen:

1. Tax local fuel in EU. Everyone who fuels in European airports, must pay more

2. Tax European airliners fueling abroad - in countries that are not in the EU airline fuel tax agreement.

3. Tax inbound airliners according to the amount of fuel onboard

This would probably violate all sorts of treaties, would be hard to enforce and would have lots of all kinds of leaks... but food for thought anyway.
That code doesn't even swap the floats.
Buy a GSM breakout board from sparkfun, servo to switch the sd to be read, transmit the data.
Create my own Blu-ray movie disc
i have been trying to fancy a short domain also for myself because "why not". i found there are still 3 digit number only .org domains which is kinda surprising but not really useful.

other than that, if i got a 3-4-5 word .com, that would be super nice but the market rates are extremly high
I think that's about as successful in war as it is in software projects, except many of those bodies will end up dead. If there's one thing that the Russian invasion shows, it's the massive difference that morale makes. But also planning, coordination, logistics. You need to have soldiers who know what they're doing.
https://www.dailymail.co.uk/news/article-10710541/Russia-mov...

I guess the option of joining one of the gangs has it's merits, like having military moved towards your border. Yes the article says the video is unconfirmed so I guess it's just speculation. But when the war breaks out in our countries I won't have any pleasure in the "I told you so".
This type of attacks is why i’m not a big fan of managed identities (instance roles) in cloud providers. Suddenly one has to be very careful on what is on the OS level which creates a higher risk for compromise. This risk increases further for the cloud service providers themselves to because there’s a need for control plane identities and the service-user identities.
Become a repository every philosophy paper that critiques Thomas Hobbes.
Now try picturing it from the someone else’s perspective who isn’t a believer.
> ag '(^|[^a-zA-Z0-9=])([a-zA-Z_][a-zA-Z0-9_]*), ?([a-zA-Z_][a-zA-Z0-9_]*) ?= ?\3, ?\2'

Why are you checking `(^|[^a-zA-Z0-9=])` before the first variable? Why are you storing it? Wouldn't `^\s*` (beginning of line, then 0 or more whitespace, not stored) be simpler? I ask to learn, not critically.
it's a future with a low birth rate, so you gotta be careful with the sanitized civilization we are building
The Economist has a decently large section on European news (being a UK newspaper) as compared to eg the NYTimes. One could argue that therefore the relative "value" is higher for a European than for a US citizen, and they might therefore be willing to pay different prices.

This hypothesis doesn't explain why it's expensive in New Zealand though ...
> IIRC a MiG-29 is a better interceptor than an F-16

Not really, it might be more manoeuvrable than the F-16 (questionable in itself) but as an effective weapon system the F16 wins in every way.

This isn't me been nationalist, I'm British and we don't operate the F-16 - its simply that the F-16 in service now isn't the F-16 from the 70's where the Mig-29's in service now largely are and not even well maintained 70's.

The Block 50/52 F-16's are essentially a significant technological leap over any Mig-29 in service.

I mean the Russian Airfoce is using hiking GPS to navigate their fighters - I'd almost feel sad for them if they weren't butchering innocent civilians with their obsolete crap.
I think you're underestimating the travel to/from the airport. Madrid city centre to airport takes 45 minutes, you should be at the airport at least 2 hours prior to the departure, Paris airport to city centre takes another hour. Even if you're a seasoned traveller who pushes it and come to the airport just one hour prior to departure, you should still count with at least 3h overhead.
I think it is actually the other way around and also not what GP said. Trains need more scale than planes.

Example: From Amsterdam Airport to Palermo, there are 2 flights per week (Friday and Monday). That is 300 passengers per week. It is a profitable to fly planes between these two cities, but a direct rail route including maintenance of the railway system would be far to expensive. This is partly resolved by stops along the way, but definitely not completely. The busiest direct railway routes (AMS-PARIS, AMS-LONDON, PARIS LONDON) in Europe are far from full, with one train an hour.

So the problem is not insufficient capacity, but rather that the scale is to small. I see electric buses playing a big role in the future to allow for better point-to-point connections.
Thanks for your ideas.
Sort of like how retro IBM Thinkpads have all sorts of modifications from new motherboards to screens? I can see something like that happening, I was on the verge of purchasing a Pebble when they announced their doom ^W acquisition via Fitbit.
Putin is not Stalin, but he's certainly trying to be a good imitation. He admires Stalin and it shows.
This community ran GitHub guide is a bit more up to date, and has troubleshooting in the Issues: <https://github.com/drduh/YubiKey-Guide>
A quick tap on an internal wall will give you a good clue as to which half of that range the house was built in. Hell, I’ve been told houses are now being built with stud party walls.
Wondering if folks would be interested in a framework to run/deploy the self hosted items here easily on the public clouds..
I have an opposite problem - I turn off my monitor and it doesn't want to disappear... before you ask, I switch between inputs because consumer grade KVMs naturally don't support anything more than 1080p@60Hz.
That price is for the whole system; which is quite a bit more, if you look at the Russian wikipedia page.
China won't be the economic force it could be anytime soon. Their futule Zero COVID strategy is making sure of that.

And it's not scaremongering to say that Russia wants to remove Ukraine from the map, that is literally Putins plan. But thankfully it looks like the plan won't happen.
Show HN is for when you have something to show that people can try. Take a look at:

https://news.ycombinator.com/showhn.html
These shortcuts were my favourite thing about moving to a Mac.
The bigger problem I saw wasnt getting people up to speed but:

* The patterns dictated by DDD typically ballooned the amount of code sometimes by up to 4x - usually due to all the added indirection.

* This meant some architectural mistakes took 4x as long to fix. If you misplaced your bounded context borders in particular you were fucked.

* It reduced programming to a bit of a religious exercise where instead of having productive discussions about benefits and trade offs we argued about the "right" way to do DDD.
How about micro-blogging over DNS?

Should be almost trivial to get something basic working and then lots of depth if you decide you enjoy mucking around with DNSSEC and that sort of malarkey.

One from my "one of these days" list :)
I have had only trouble traveling by train in Germany. It happened so many times that I believe it becomes statistically significant. In comparison, I can't remember the last time a train trip in France was anything but smooth.

A few examples, all of which have in common that we arrived 3 to 9 hours late to our destination:

- The train leaves earlier than planned (!), but they tell you by email at 7:00 in the morning for a train leaving at 9.

- The AC on the train is not running perfectly. They offload everyone at a random train station, and you spend four hours sitting on the stairs of an overcrowded commuter train with kids and luggage, instead of one hour on a mildly hot train.

- Stoerung auf der Strecke: twice (!) the train stopped for hours in the middle of the tracks. Once the train had stopped in the middle of a bend, and we spent hours tilted to the side. The other time we missed a flight even though we were on the regular shuttle from city center to the airport.
hb.sbs -> How about some b*l s*t
Was it not? Putin and Trump seem to share the same playbook of doing both things to gauge response and cause confusion. It's pretty hard to ask Putin's upper staff whether the spent a few nights in jail.
This is probably a common flaw in a lot of applications with a lot of complexity layered below the main product.

Electron applications are a prime example of this, since there is a whole webbrowser underneath and HTML doing HTML things is expected behavior for the browser, but not the application above. One can probably attribute the whole log4j debacle to the same fault, in that the "common" developer is unable to understand all complexity and quirks their software ships with (difference being, that a browser engine is far more complex than a logger)

I remember a time where "Scrach" wasn't a Electron application, but a native (I think?) Linux application. Obv. there can be bugs in dependencies too (rsvg, libpng, etc.) but they different and tend to not be as easily exploitable as these kind of Electron/HTML->V8 bugs are.
Better 16 billion... 18 billion... 22 billion... 34 billion... etc. We all know, how that goes, especially the city of Berlin, which built a cool new airport...
What is your dream job?
How about in 5-10 years?

Do that.
> Never ever ever be in a situation where a rogue script or bad SQL WHERE clause means restoring from backups.

As a second step, restore from the backup at a set frequency. This would force orgs to automate and optimize not just the backup flow but also the restore flow. Tear-down and restore entire systems from backups. Of course, doing so enormously adds to the cost, but when there's an outage, it will pay itself over.
If the tinder simulator was any good why not have it act as a service to talk to women on your behalf.
When did the war was meant to capture the capital on day three?
This is classical American way of waging wars: shock and awe followed by a mad dash to the capital, declaring victory and then dealing with years of combat.
As Clausewitz put, you win wars by destroying the enemy armies, and this is something the Russians, unfortunately, despite all propaganda in contrary are doing very well.
Without direct NATO involvement, the main Ukrainian forces in the Donbas, will be completely encircled soon, cut from supplies and isolated.
Yeah, I know that the "military experts" are keen on saying otherwise, but those experts are the same behind an 800 billion/year military that failed to pacify both Iraq and Afeghanistan. We would be wise not to trust their expertise so blindly.
I prefer binding "Move focus to next window" to the F12 key. Since Cmd+` is a hard keyboard combo on non-american keyboards.
Did I forget?

The US spying has been linked to explicitly screwing Europe of huge industrial contracts, the biggest one probably being a Boeing/Airbus competition.
I don't see that invalidating anything, certainly not showing that this is harmless.
> Differences in world view are less significant when the bureaucrats and executives with power over your life live nearby instead of in another city and state.

This statement is ambiguous. I see two obvious interpretations:

1. Differences in worldview are less important when the bureaucrats with power over your life live nearby.

2. Differences in worldview are smaller when the bureaucrats with power over your life live nearby.

I think #2 is true and #1 is false.
Whilst that's true I dream of getting 10 hours battery life on my XPS 13 Dev Edition (9370).

I really miss all day usage that I had on my last Mac. If System76 can provide that again I think I could live with lower build quality.
Hobbes Snobs, brilliant.
Technically, the issue is not that SVG allows active content. It is that untrusted XML is being inserted in the DOM by Scratch.

Arbitrary SVG content can be safely embedded as an image, either via the img tag or as a background image.
sigstore would likely not be in the list of Microsoft's accepted certs.

Another option would be to publish straight to Microsoft store which I believe is free.
I do think among the most common bugs is the increased understanding of the problem domain.

Code often does what it is intended to do, but the result is wrong because the problem wasn't actually sufficiently understood when the solution was formulated.

If you have a function that for a given integer N returns a value m=f(N) so that m²=N, and you run the function and get positive m:s on weekdays and negative m:s on weekends (on x86, the happens opposite on ARM), we're quick to say that's a bug.

No, it's just a surprise.

The function works as advertised, that f(N) would be identical to sqrt(N) is just an assumption you made that isn't found in the specs. The requirements never said anything about the sign of m, that's a requirement you added retroactively when it wasn't behaving as you expected.

I think this is very often the case with the experience of those "how can this have ever worked"-bugs. You were never surprised by the behavior because you never examined it particularly closely before.
I concur on "it sort of made sense to me" in regard to the windows management and I don't think this is due to the fact that I am getting used to the ways of macOS, at least this part.

When I use Windows occasionally, I miss the command+` to switch between windows of the apps, especially when they are far separated out in the Alt+Tab preview.
I visited eastern Europe for several months years ago and this was my experience: it’s wacky, but some of it works.

I’ll never forget my little borrowed Skoda’s windshield wipers getting stuck together because I had the gall to set them to max people’s speed.

Slava Ukraini.
I think the key is that banks generally dont hold mortgages on their books (there are exceptions for some customers).

As such they need a buyer for those mortgages and the buyer wants mortgages that conform to a standard so they can be packaged into bonds and sold off.

Despite you being a good credit risk, you're just not the "right" customer for them. In your words, you're not "easy money" for them because easy money is originating the loan then selling it off to make it someone else's job.
> I feel bad because I'm younger than they are, but [I enjoy privileges]

The world is not fair. You are not responsible for the way the world currently is, but you have a responsibility as a citizen of the world to work on lessening the inequality and pain.

It’s good that you feel bad, but the next step is to use this feeling effectively and act on it by volunteering, working in politics and working in businesses that have a positive impact on society.

> You might say I "deserve" my current place in life.

No, you don’t deserve it. Nobody deserves their current place in life, some just got luckier with their genetics and circumstances. Believing in a just world is useful for society and the individual („they’ve earned it“), but it’s not true (truth is more „they got lucky they weren’t hit by a truck when they were 7 years old“).

I can, however, respect your effort and that you work hard. Doesn't mean that somebody else who can't work like that is deserving of a lesser place.

> I feel uncomfortable interacting with people of lower social classes.

Spend more time with different people from different backgrounds. This sentence is the result of being alienated from your fellow human beings and honestly sad to hear. Realize that we’re all the same.

> I give rather large tips, but it doesn't make me feel better.

You try to minimize your bad feelings with small gestures and you know it. That's why it doesn't make you feel better. To truly feel better, you need to involve yourself in making the world a better, more equal place for all human beings.

> I usually tell myself that they probably greatly appreciate the jobs that they have and are using it as a stepping stone to achieve their dreams

Stop telling lies to yourself. Many people are stuck in soul-sucking jobs and are imprisoned by their responsibilities to their families. The US is unkind because the system makes you feel responsible and seems to judge you for the outcome of your life while your life has a lot of randomness and luck in it. It needs to change. - https://www.vox.com/science-and-health/2018/8/21/17687402/ky...
JavaScript dev that failed upwards.
We burn the rest. :)
Nine Quintillion Tries Later: Researchers Crack SHA-1 (2017)
even worse, sometime 011 and 11 is very different even as a number. Some function from php if it converts strings to numbers, considers a trailing 0 as octal representation. Probably intval without base:
https://www.php.net/manual/en/function.intval.php
Nice lol
I believe the one value add they do provide is that they choose their components to work well with Linux and test to make sure that's the case.
Trains are great for no more than 600km range trips. I live in Spain, and it's great to get into the train without doing all the procedures you do with a plane. I arrive to the station 10 mins before departure and I never had troubles. With airplanes I need to be there 1 hour before. Then you spend another 30 mins getting into the plane, following the instructions for just only 1h trip. The same trip Barcelona -> Madrid can be done without all the hasle and even faster than in airplanes, in addition, you arrive in the center of the city, much better connected than the airport, where you spend another half an hour to reach the city center.

In my experience, airplanes are worth once you talk about trips over 800km. Trips that you cannot do in less than 2 hours of train.
Yeah, not to mention the promises about Linux support being on the roadmap, which seem to have evaporated by now.

And what looks a breach of contract in selling Oculus Rift with Windows 7 support only to drop it some years later.
The jump from "bioresearch lab" which to bioweapons. Making it sound as if there was something to "admit" in Ukraine having same labs as everyone has. Then you try to confuse it with bioweapons, anthrax attacks in America and completely irrelevant treaties about bioweapons.

If he wanted to make historical point about Antrax, he did not had to make it in context of Ukraine. If he wanted to make point about bioresearch labs in general, he could have made that one. He did not wanted to do either. He wanted to muddy waters precisedly at the time when is sounded like Ukraine has bioweapons precisedly when they were invaded.
Which infinity of stupidity it is equal too ?

What about cars ? Bicycles ? Rockets ? What about kalashnicov Africa is full of ?
Paper is also very famously invented by ONLY ONE race ! :>

Now is time to degrade academics wihow brain usage traces.

O, btw. I think we should instantly call "brave man" anyone who has been called "homophobic" - it is sad you need to be brave to speak elemental truth.
Thanks for the link to the guidelines: I removed the 'Show HN' prefix as this project isn't anything quantifiable yet. I'll be sure to post a proper Show HN when I've got something to show.
Since PHP 7.1 you can write

[$a, $b] = [$b, $a];
That is another good way to phrase the problem described by the parent post of yours.

There is not a way to beat bad faith communication with good faith communication at scale, because the latter doesn't scale, because the average/median person is not intelligent enough for it. I wish they were.
I disagree hard that anonymity is detrimental to security in most cases. It can be as stated in the example and there are technical hints that make it difficult to achieve.

I also disagree with the references to hate speech and online abuse. Anonymity allows for detachment and it does not provide any surface for hurtful attacks. It is more or less the best protection. If you expose your identity these attacks are much more effective because they can become personal. Maybe that angle is out of scope for security researchers that want to sell their identity platform (which can be good, but come at costs).

Anonymity can be detrimental against scams, but if you are also anonymous to your attackers you often don't have to provide good defenses.

Everyone can become a political dissident in a day. Accountability and prosecution can be the same from a different perspective. The security industry isn't really a trustworthy actor here and often does not provide good information.

Sure, if you cannot help yourself and use weak passwords, having a device identifier can indeed provide security.

> A dissident who needs anonymity from their repressive government does not need the same level of anonymity from the Swiss legal system.

The Swiss legal system in particular does prosecute dissidents that hide abroad because they leaked info on criminal banking enterprises supported by the state. This is a pretty bad example to be honest.

Off topic, but one of many examples and very interesting:
https://www.youtube.com/watch?v=dRmnp8vhziw

You are not planning anything, protonmail? Which banks do you use by the way?
I wonder where is that sensor ball turret from?
Hahaha the assumption here being that only Linux users are power users ¯\_(ツ)_/¯

Remember what assumptions get you!
Empirical as in observational, which means others can reproduce and observe as well?