skysight-inc/HackerNews huggingface dataset:
Adressing the whitespread conception "It is hard to programm in Haskell because it is pure":

If you can write python, you can write Haskell. Don't believe me?

1. Write your program completely in the IO Monad, in a huge do-block

2. Factor out as much pure functionality as possible (= Have as little code in your big IO-programm as possible.)

Start at 1. and iterate 2. as many times as you please. It will already be a program that prevents many traps that would bite you in other langauges. Haskell knows exactly whether you are looping over an array of strings or an array of chars.

(Why all the buzz about pureness, effects and so on? Well, with Haskell you can design with a high granularity and reliability what sideeffect is caused where. But you are not forced to use that feature.)

Other tipps:

- Build small projects.

- Read as few tutorials on monads as possible. You might even get by with 0.

- The trifecta of Haskell typeclasses are the functor, applicative, monad. I would advise you to not try to understand their mathematical origins, but just look up how the are used. They will crop up naturally when you build even small projects and then they will make sense.
Russia shouldn't be rewarded for one second longer for their bullshit either though.
Ugh. I had a bike that liked to stumble when cold, and it's exciting when leaned into a corner to leave the traffic lights and lose most of your power. These things are kind of important.
Nickel is viable for mining in set regions as I've said before.

Although Li-ion batteries are named over lithium, they require quite a small amount of it compared to other materials. the bulk of the battery is the Cathode.
Perhaps stolen credit cards have checks in place to immediately flag them as fraudulent?
Pullis gegen Putin
Russia pulls out of European spaceport, abandoning a planned launch
> Knowing GitLab and its history of security vulnerabilities, the timing is probably just a coincidence.

You're probably right - unless Ukraine has more GL instances than most countries, in which case I'd be a little less likely to believe it's just a coincidence. Russia is deploying lots of attacks now so regardless of where the software was developed, if it's used in Ukraine at all it's more likely that we will find out about its vulnerabilities in the coming days.
Hey Dan!

Cool project. Whats the best way to contact you? Have a couple of questions/ideas to discuss.
I think China is trying to do right by China, while the people are secondary. They are such a different culture than the West it’s hard to see their system from our perspective as anything but totalitarian and abusive, but the idea that the collective is more important than the individual is a valid perspective, just not one that fits with Western ethics, which we hold to be the superior perspective, naturally.
Say you're a Ukrainian fleeing refuge and you want store your life's savings somewhere safe. Pretty damn useful there. If you don't want to deal with the price fluctuations of BTC or ETH, buy stablecoins instead.
I don't understand how a social media account is supposed to work with an anonymous group. Do multiple people have access? Everyone?
Interesting, so is the idea that neutral buffer states are impractical in the long term, and it would be better to have them in NATO than Russian control?
At least one major researcher studying programming (and how people learn to program) would agree with you!

Check out Alan Blackwell's "What is programming" paper from 2002. In it, he argues that we should not be asking "is writing html programming", because that question comes from an older (past overdue for revision) mental model of what programming is all about.
The transformations usually can and should be implemented in a way that preserves the original call stack information. However, you are right that laziness makes backtraces less useful: they still are correct, but they pop up in completely unexpected moment.

For example, you do something like “let x = f y in return (g x)”, where x is a (lazy) list, and g :: IO [U] -> V for some types U and V. Then somewhere deep into g’s callstack, 123th element is accessed, which forces its computation, which results in exception. You then get an error, and backtrace should naturally come from function f, but in fact it actually happened while executing g, and if g is missing from the trace, a natural intuition from strict languages would suggest that error happened before execution entered g, because f is called before g, which gets its return value.
I’d imagine it’d be incredibly unlikely that critical software systems in jets or tanks would be internet-connected.

From past experience with military-spec software development, it’s usually highly redundant and isolated. The operating systems are often real-time Linux-based ones (at least the ones I was exposed to).

If there’s Windows running there somewhere, it’s unlikely it’s in a critical system.
Rapid Viz by Kurt Hanks is a great book. It was a textbook when I was doing industrial design courses a long time ago. I think I have the first edition, but it looks like the third is available on Amazon.
I won't burn down your house if you let me have your car.
It’s a good point that so far, major changes for miners haven’t affected operations.

I’m not sure it’s true that nobody knows where they are. There are rankings by country. They need Internet access and power. Many operate openly. Large data centers aren’t invisible.

Also, miners were kicked out of Kyrgyzstan. Many machines were confiscated. It seems a lot of miners moved to the US because, even if they are eventually shut down, at least they will still have their machines, hopefully.

Governments could greatly reduce the hash rate by cracking down on miners who operate openly, and then Bitcoin would be considerably less secure against a takeover.

Suppose, after getting kicked out of many places, many miners move somewhere without strong property rights, and then the government takes control of the machines and runs them? Or maybe the miners keep running, but the government tells them which transactions to block?
Oh geez I've been hand wringing about which self-hosted git thing to put on my personal VPS to replace Phabricator and this is such an obvious answer. Thanks!

EDIT: replace isn't the right word for most phab features (code review, issue track, wiki), but I just mean replace for repo sharing with push and pull
The price charged by the US gas producers is maybe 10% of the resulting price in Europe. It's all about the transportation costs, liquefying the gas, and shipping it is very expensive.
No, but upper echelon is well-versed in money and power. If it seems like Putin is losing the game, their opinion could change the power structure. That is not automatically a good thing by the way. There is a reason 'devil known' is a phrase.
+1

Unexpected surprises can be dangerous. I feel like safety related systems really should be as simple as possible.

I like ABS but in one of my vehicles I had an issue with it randomly engaging when it shouldn't due to rusted and cracked tone rings. It's actually pretty scary losing the majority of your braking power when you desperately need it.
If NATO is a defensive union please name one defensive war it was involved in. You’re right, none, s as opposed to 20+ aggressions NATO states have been involved in.
I always wanted a countdown timer/graphic when approaching a turn, indicating seconds: 5, 4, 3, 2, 1, turn!

It's harder to reason about 0.2 mi, 700 ft, 400 ft, 250 ft, esp when streets are close together, or at different approach speeds.
> If you install a solar panel to "become independent from centralized energy systems", you're moving from a dependence to established energy networks to another type of dependence. You now depend on people making, delivering, maintaining panels for you. As well as the batteries to store the energy.

Thank you. People claim they are independent because they are off-grid and using solar panels. But are they really? Solar panels last about 10 years and then what? Of course they are dependent on the grid that provides them the solar panels and batteries.
GitLab employee here.

You can disable signups, or require all users to being approved by an administrator, if that works for your instance. https://docs.gitlab.com/ee/user/admin_area/settings/sign_up_... There are more ways, like limiting specific domains for signup.

Future spam detection ideas shared in https://news.ycombinator.com/item?id=30479511
The only way to "respectfully handle these bodies" is to not send them into war.
> it does actually make a lot of strategic sense from Putin’s POV and he is not, in fact, an idiot?

I don't believe he's an idiot and I'm sure he knew that he could take the Ukraine without much resistance from the West. It comes with significant drawbacks, however - the EU might not cease trading completely, but the sanctions still hit the economy hard and their own stock market tanked. The war is also really expensive and quite unpopular, both inside Russia and on the global stage. Finland and Sweden will also most likely join the NATO now, which, while geographically not that important, still makes him a tad more surrounded. Lastly, a destroyed Ukraine full of people hating him is really not that useful.

It's a bit unexpected, but we also know now that the Ukraine is putting up quite fierce resistance and is not really a soft target. I was wrong about him invading at all, so my predictions about Russia might be wrong again, but I think invading was strategically a really bad move.
I too am wondering if 'salt sculptures' implies there was salt water at some point.

I have no idea. But can imagine that another proof of water, salt even, is really nice.
As soon as American politicians get the same treatment... The west doesn't hold the moral high ground on anything. Wherever the US meddles, misery follows.
it’s unlikely it’s in a critical system

I used to think that as well but I recall a time when a bunch of US tanks were blue-screening and that in effect disabled navigation or something to that effect. Maybe I can find those old articles. But you are probably right. If it were possible someone probably would have done it by now.
Wow, it was fascinating to read some of the headline spins on the RT site.
What about the cost of maintaining the server? I've had poor experiences with maintaining my own VPS in the past. Basic advice is setup fail2ban and I'm unable to ascertain if that's adequate. We're not all walking around with that knowledge, nor do I know how to easily acquire it.
When did Kiev become Kyiv? What’s that all about?

Edit: thank you to everyone who educated me on the subject.
That's a show of support for Ukraine, which is something.
Military units generally should be self-contained except for the (mostly) proprietary protocols used for sensors and communications. A tank isn't going to have an active directory client or printer sharing installed.
I see... I was confused by the parent post talking about him.
You seem to be assuming that the substitute for natural gas plants isn't coal.
Thick white smoke means a solid-fueled rocket.

Solid-fueled combined with that kind of trajectory means either an MLRS or an AA missile. (neither artillery shells nor cruise missiles use solid fuels)

This cannot possibly be an MLRS rocket because they are fired in huge salvos and fall without smoke (all fuel is burnt by that point). You won't mistake that for anything else, believe me.

AA launch gone haywire for some reason is my bet. The small explosion is also telling (AA missiles have small warheads, they are all fuel). This would mean either Buk, S-300, or Strela-10 as they are I think the only AA systems in the area. Since that happened yesterday (?) in the Obolon', Kiev, my second bet is that it belongs to Ukrainian Military since it's not taken yet, or wasn't at the moment this was posted.

Remember: what you're getting right now is almost pure white noise, from both sides. The full picture will be available much later. Don't trust my words either, verify everything yourself.
Founder and creative director of Bellingcat (definitely not pro-russian) advises being careful with this one:

> Some claims that the missile strike on the apartment building in Kyiv could be from a Ukrainian S-300 air defense missile, so its still worth keeping an open mind about what munition was responsible.

https://twitter.com/EliotHiggins/status/1497501462447984642

That's a good question, what happens with an anti-air missile if it fails to hit something in the sky? Does it disable itself before hitting ground?

Also, you can look at my comment history if you think I'm pro-russian.
Did you get Infinity? That’s the only brand I know that offers drive by wire steering.
Believe Pascal's Wager? Have I got a deal for you [pdf]
Counter argument: why not? Why allow any Russian to feel comfortable while this is happening? Why not inflict as much inconvenience as possible on Russian state apparatus?

Many Russians are complicit. They are not entitled to comfort nor stability while their leadership commit atrocities. Revolution could take down Putin from within if he overextends his resources - unlikely, but possible, and that possibility increases if regular Russians start to feel antagonistic to Putin and the consequences of his actions.
Operationally speaking there’s no such thing as war crimes. The victor writes the rules and the loser, well vae victis.

The “rules based international order” is a sham and always has been. This is made obvious by the US based empire’s total disregard for other states’ sovereignty when it doesn’t suit them.

For what it’s worth I oppose this war as I oppose virtually all wars. It’s tragic and I wish it were unnecessary.
There seems to be a basic misunderstanding on the part of the pro-btc ppl here all saying "how is that fraud?" or "how is that steams problem?"

If you run a business that can be used in a money laundering scheme, even if you are not a victim, you have a legal responsibility to try to limit/prevent that actually.

The crypto crowd may not like that, but it's not up to them.
In this case though, gitlab is a self hosted product
>Rich people don’t want to go to China or India, and I think if you compare the offerings of the West versus these other two countries for just a moment, you’ll understand why

That's not really the point

>Russia is a classic abuser, the only way out from a relationship like that is to walk away regardless of the personal cost.

How exactly can the Ukraine walk away from Russia? Its impossible. So long as Russia has an army & a willingness to use it every country will have a relationship with them whether they like it or not.
You're in a thread about an update to the self-hosted Gitlab offering. They aren't saying "use this instead of the service", but "if you self-host you can also self-host a simpler thing", so your response really doesn't fit the topic at hand.
I know, I’m asking how feasible it is with Steam.
> Manual errors with Either can make it very hard to figure out where an error came from because they don't capture backtraces. So if you don't have a very specific error for each failure point you are left guessing and debugging.

Why wouldn't you have a very specific error for each failure point?

Funnily enough, I theoretically agree with your point but can't remember being bitten by it in practice for some reason.

Maybe you can help by giving an idea of a real world example of this?
I will shamelessly add that this is the first time I've publicly posted https://regattapages.com, and it is still heavily under construction. I did my first live demo at a Regatta this past weekend in St. Petersburg, FL.

I am looking for extremely small seed-level funding so I can continue to build out the site full-time until I am able to sell it to the large number of prospective customers I have (this summer, sailing doesn't happen in the Chicago winter).
GitHub Issues Migration is coming soon
What if enforcing a no-fly zone over Ukraine leads to a full nuclear exchange a.k.a. end of the world?

We are actually seeing some strong early results from the soft power approach. The US under Trump all but abandoned this powerful and necessary tool. Give it a chance.
Just to tag onto this comment, for anybody interested the repo is:

https://github.com/ziglang/zig

The code in the lib/std directory is very readable, and I’d strongly encourage checking it out for anybody who wants to learn Zig or know what idiomatic Zig looks like.
heh, snark aside, it might have ripple in the population.
Most of e.g. Germany's gas consumption is from heating, not electricity. So nuclear plays a minor role, though admittedly even needing just 10% less gas might be the difference of being able to procure what you need from non-Russian suppliers or rationing. (Sure, heating and electricity is kind of equivalent if many households had heat pumps, but they don't.)

Nuclear or not, the horrendous mistake was not reducing dependence on Russian exports even when their aggressive foreign policy was apparent even 10 years ago. That was inexcusible complacency.
This is absolutely not what happened. Why come up with such crazy theories when this just comes down to double spends of unconfirmed transactions?
Technically the core consists of both UP (User plane) and CP (Control plane). In 4G this was MME (Mobility management entity) for CP and the S-GW and P-GW (Serving and packet gateway - which interfaces to the internet) for UP. In 5G this has been replaced with VNFs such as AMF and others for the CP and UPF (User plane function) for UP. The 5G core is truly distributed and designed from the base to have re-usable and third party VNFs with well defined (REST based) APIs so it is really a game changer.

The RAN (Radio access network) and core split is there since 2G, where the RAN in LTE is the ENB (E node B) and in 5G is the GNB (G node B).
Low Trade Fees, cross-colatorilization, instantanious and algorithmic liquidation.

imagine i wanted to buy Tesla. I have no money but i do have GM Stock. This allows mee to trade GM directly for Tesla stock with no actual trade fee, because the trade never occurs until i pull all my money out out of the pool.

So i am exposed to the asset without having to do the centralized exchange way of selling the asset (Incurring trade fee) buying usd. selling USD for the next asset (Incurring a trade fee) then eventually selling it back to USD when i want to utilize that asset.(Incurring a trade fee).

So, like i explained before it is a much more efficient mechanism of trading any asset. Since trading is literally the bedrock of civilization and effective capital allocation through trading is what drives prosperity, creating a more efficient trading algorithmn in crypto is one of the finest achievement of our generation even though most haven't undeerstood it's significance yet.

The soverign individual was a good book for me to recognize the need for crypto in the world.
Big talk from an organization that not even three years ago had an article with this line: "At my company, ... [w]e, quite literally, think only about ourselves and our personal profit. "
He does powerpoint?
Best line: "bull markets breed bloviated bull"
By trust-less I am referring to a trusted 3rd party (e.g bank or escrow service) needed to mediate the transaction between the two parties. Not necessarily a lack of trust between the two parties themselves (obviously it would be foolish to pay someone you didn't trust at all in an irreversible way, but I can order something from Amazon any day with an implicit guarantee I will receive it or a refund, despite not knowing anyone there personally). An if you are referring to the shipping company that is going to move the goods, that would be a separate p2p transaction (and probably insured) between the seller/buyer and the delivery company.

Everyone who transacts in a fiat currency digitally has a defacto third (or more) party in the bank that mediates the transaction, and even non-digital cash transactions inherently include the central issuing bank (who you must trust not to debase the currency...just ask a Turkish citizen how that's going).
Whether you're trolling or not, you also genuinely don't understand the current situation. So I'll explain it in more detail to you. Putin and other key members of the Russian government have just proven to be unreliable persons who cannot be trusted and negotiated with. This makes future ways to deal with Russia extremely difficult. It is also unrealistic to expect that this is going to get better, the older Putin gets. On the contrary, if he stays in power indefinitely we can expect his revisionary pseudo-historic views and his disrespect for national sovereignty to increase. His successor might even be worse, given the poisoned political climate in Russia today. However, Russia is a major nuclear power. There is a realistic worry within the EU and NATO that Russia would get emboldened by past lackluster responses and risk a calculation that attacking a smaller NATO country might not invariably activate nuclear defense plans.

All of this taken together makes imposing heavy sanctions on Russia essentially inevitable. They are the only civilized response available, and not doing anything could have fatal consequences far beyond the EU. Governments across the world rightly realized now - unfortunately, too late - that the comparatively weak response to the 2014 annexation of Crimea has emboldened Putin to order a full-scale invasion of Ukraine. They will not repeat this mistake.

Edit: Looks like a consensus has been reached and Russia is about to get excluded from SWIFT.
Some justice is better than no justice. Criticism of hypocrisy between A and B is fine in its own context, but in the context of A or B alone, it's called whataboutism, which has the appearance of justifying the unjust, and is therefore extremely detrimental to conversation.
For SRE, DNS is a relatively common issue to troubleshoot. Something silently fails in a deploy, someone went mucking around with DNS by hand when they shouldn't have, your local resolver might just be borked.

Specifically for us, since we are a SaaS provider with new customer environments in their own VPCs every week, DNS is something we touch regularly. We touch it waaay more by hand than we should, but that is one of many processes I am fixing and automating to remove the cognitive load and human errors.

You are right that it could be a client issue, but when candidates start down that path and won't let it go, I tell them to pretend they're on a residential internet connection, no corporate shenanigans of any type.

I also expect them to know how to rule out their local machine quickly (they can always run nslookup xyz.actualdomain.com 8.8.8.8). I intentionally use real problems I have encountered so that the scenario is something they can expect to fix(not usually all at once).

I'll probably do a revision on the process next week with a terraform deployment to build the scenario out automatically for each interview. I'll be asking candidates to send me a ssh pubkey before the interview. I need to get another AWS sub-account too so I can issue credentials for the candidate and literally give them the keys and let them drive instead of me.
This does precisely nothing to “clean” the money as it doesn’t eliminate the direct link between you and the dirty bitcoins.
Yamaha for some reason can't get the fueling right, even to this day. Kawasaki gets it right and meets the same emissions standards. It's not a fundamental issue with ride-by-wire, it's quality of implementation.
How is this allowed to happen? Cars doing something they literally should be designed not to do as a core basic requirement. It is like the technology is regressive.
Reminds me of the old gamestop greentext