skysight-inc/HackerNews huggingface dataset:
If appointments with local mental health experts weren't booked out months in advance, I wouldn't be here. I don't "believe" I have ADHD, I know it and have a diagnosis to that effect; but I have to speak to a psych in person (in the 'normal' system) for bullshit bureaucratic reasons to get meds restarted.

I'm elated this exists, and find your demonizing of it to be insensitive, hyperbolic and distasteful. Please mind your own business.
Everywhere you mention had been within the Russian Empire 20 years earlier.

Also the Russians made a peace treaty with Germany after the UK and France had. Neither the UK or France would agree with a mitual self-defense treaty with Russia prior to the Ribbentrop peace treaty.
This depends a lot on the development environment. In Smalltalk years ago, we were encouraged to limit each method to few lines at the most. This makes sense within Smalltalk and the code browsing inherent in the system.

It makes debugging in Java or C# an exercise in face shredding frustration. Where each class is in a file, it's better to structure the class consistently with other classes in the project, and things like naming conventions become a lot more important.

You could argue that the C/C++/Java/C# languages are fundamentally broken because they don't encourage the succinct, small class methods that Smalltalk did, but you could also argue that those small methods don't necessarily work very well in a different class of languages from Smalltalk and neither approach is really more productive than the other, with the caveat that Smalltalk is largely dead and irrelevent to modern programmers other than a curio.
I'm guessing building anything custom (Go server, Raspberry Pi etc) are distracting as compared to using an existing platform like Github.
Thomas Piketty Thinks America Is Primed for Wealth Redistribution
Search in [0] for "bezier", iquilez is a magician in this department.

[0] https://iquilezles.org/www/articles/distfunctions2d/distfunc...
Archived: https://archive.ph/Hed4U
For the past 8 years, I've been doing a mix of analytics, advanced analytics, and applied data science. My main interests are automation, data visualization, and forecasting. Looking for a Data Scientist, or Technical Analyst role.
Location: Arizona

Open to relocation, but remote preferred

Technologies: R, SQL, Python, GCP

Blog: mathewanalytics.com

Code Samples: gist.github.com/abmathewks

Email: mathewanalytics@gmail.com

LinkedIn: https://www.linkedin.com/in/abraham-mathew-21221b29/
Show HN: An ever-growing collection of developer blogs
We're in your steppe, marauding your horde.
> The countries that did really well in the pandemic (east asian countries) typically went for what seemed like drastic measures in the early stages. As time went on, it's become apparent that their liberties, economies, and also case numbers were all far less impacted by the pandemic compared to western countries that had to go into emergency lockdowns as case counts soared out of control. Even in the limited context of western europe, one of the reasons why the UK had so many days in lockdown (more than France or Germany, often with more stringent rules, iirc) was because they prevaricated so much about bringing in lockdowns, then had to make them much tighter to compensate.

This raises an interesting point I hadn't considered; assuming that there will still be some transfer of the virus during lockdown (although presumably more limited) due to people still needing to go out to get food (or have food delivered, which still requires someone else going out), getting medical care, etc., the amount of time needed to stay in lockdown to lower the number of cases below a given threshold seem like it would grow in relation to the number of cases at the time lockdown was initiated. To make up some numbers, if the goal is to get the number of cases below 1% of the population, it's much easier to get there if you start the lockdown with only 2% of the country infected versus 5%. I don't have anywhere near the expertise to do even the most naive of calculations of how many extra days that would translate into in the real world, but given that I imagine the virus spreads faster than it goes away, it sounds like delaying by a certain amount of time would lead to _more_ than that amount of time needed to stay in lockdown. I wonder if the US had gone into lockdown at the beginning of March or even earlier, then the lockdown might have been shortened by months.
This is different. Generally, if you buy a base model car, it is missing buttons that would be available in a higher trim. In this case, the button is clearly there - it was cheaper to leave the button there and to lock the owner out using software.
> Tesla has actually installed hardware in cars and locked it behind software paywalls, multiple times (battery capacity, rear heated seats, "acceleration boost", maybe more I'm unaware of).

The most vaunted feature of teslas, "Full-Self-Driving" (note, not actually full self driving) is also a clear example of this.

It's $10k, and it's a 100% software update for all modern teslas. The FSD stuff, as I understand it, is all on-car (i.e. no remote tesla-run service involved), so you really are just paying to unlock use of hardware already there.
> 700 AD graphics

What’s that, some board game from the dark ages?
There are cases where it makes sense, but I'm not sure that mobile devices that are likely to be playing video is it. Chances are, they'll be burning more power on the screen backlight than the CPU to do AES vs something else (assuming they're not accelerated for AES). There's two sides to the argument, but easing the burden on servers lets one server serve more clients; it's easier to justify 2x the cost for crypto on the client than on the server, because most clients aren't bottlenecked on crypto and some servers are. (Of course, I'm usually a server engineer, so of course I want my servers to have less work ;)

Choosing ciphers for ease of the client makes more sense, IMHO, when the client is really constrained, like a feature phone or tiny IoT things.
Archived: https://archive.ph/DZaMA
Google switched to SAP two years or so ago.
it's actually "pretty easy" to do when you start from first principles.

I usually ask "can I build your code on my laptop? is this the same as what's in prod?" usually the answer is no, so I work to turn that into a yes.

often times, I find that much of the complexity that you speak of is due to shared services that few have invested time into running locally precisely because of long-lived dev/staging envs, like access to data (databases, filesystems, secrets managers, etc) or tight dependencies (config services, databases, and other APIs come to mind).

example. i once worked with a team where we tried to get their app running locally in docker. (they used pcf back when it was called that; it's called tas now.) their app needed to use a dev instance of a db when it was not in a prod env. we asked if we could get a mocked schema. they said yes, but it would take three days.

it took three days because another team would manually produce the dataset from querying prod and modifying values. since they loaded it into the dev/staging environments, teams just used that. leadership also had no way of knowing whether devs were using data with real values on their workstations (because lack of automation and auditing), so politics were involved in producing a local schema that we could load into Postgres on Compose. (this was a financial company, so any environment with PII is fair game for auditors, which costs time and money.)

we landed up reverse-engineering the tables they needed so we could produce fake data good enough for integration to pass, but of course that introduces environment stratification of another kind since this team didn't own the data.

honestly, now that i wrote this, if every CTO forced their teams to make their core applications 12-factor, then staging environments would go away naturally while improving code quality and platform safety.
All your saying can be described as a "strong incumbent bias that undoubtedly helps him win." International poll watchers agree, the elections themselves are fair but the blurred separation of party and state leads to an undue advantage. 2014, but I don't see evidence of the situation having changed. http://www.osce.org/odihr/elections/hungary/121098?download=...

Maybe I should have said "fully rigged." Real opposition candidates do get to run, they just have almost no shot of victory. And it's possible that if they did have a shot, the elections would be outright rigged.

Napoleon was my example of a popular dictator, I didn't want to use other examples as people will debate whether they're dictators. I never said that's a good thing, Napoleon was horrible despite remaining popular in France.
He didn’t abdicate (nor can he). He just became a “non active” family member. The title is conferred by birth not by job - so he is very much still Prince Harry!
There is a swiss company based in Zürich that develops this kind of software. I believe it was a c#, wpf application, the last time I spoke with them. The schedules that their software produces is calculated and set for several years ahead. That baffled me! The tracks and infrastructure is booked up so far ahead! I think they mentioned that the german railway uses their software, nut only the sbb.
Yeah... the whole region is dotted with castles.
They did really well on ravaging and ransacking cities that were on plains, or close to larger fields. Hungary and Serbia are part of the the Panioan Plane, which is open terrain and perfect for them.

They couldn't take Dubrovnik (the first well fortified western European city), and also were defeated on mountainous terrain by the Bulgarians. They wouldn't been able to take something more fortified like Constantinople. They actually had clashes at the time, but it was mostly raids by the Mongols.

So, it is pretty clear. In Europe, the Mongolians did great on open terrain, planes, and cities that didn't have great natural defenses. They didn't do that well on cities that were better fortified, and with natural defenses (mountains). They raided and ransacked the areas, and moved on as they couldn't sustain a siege in such terrains.

"The Bulgarian victory can likely be attributed to the mountainous terrain, to which the Mongols were not accustomed.[16]"
I grew up hearing a lot of buzz for concept maps (or mind maps as I heard). I never found them to be as powerful as advertised.

A concept map is slightly easier than writing in bulletpoints because it can ignore structure. But this makes it incredibly difficult for anyone, including myself, to read after it is written.

At best, I use a concept map as an intermediary stage for figuring out how to write in bulletpoints, write in paragraphs, or draw in diagrams. This intermediary stage never lasts overnight for me, and I discard the concept map immediately.
The software to do the climate zone sync is probably there too, just disabled by a feature flag.

Edit: or maybe not, other comments indicate there is additional hardware required as well.
How DB migrations work in particular (other things, like business logic, work similarly): https://news.ycombinator.com/item?id=29046303
"I'm not like those other girls"
This doesn’t talk about real world adversaries, only hypothetical countermeasures. It would be more useful to know how I’m likely to be attacked, not how to protect against every threat the author could possibly think of.

For example, I want to know where the villains actually go when they want to dox someone. Then I can dox myself and do something about it. I have no idea where to start and wouldn’t want to pay money to criminals to get it.
I read recently that not using SAP - or heavily customizing it - in markets where it’s prevalent can break big(ish) companies. Apparently the interface to other companies (from which to buy or sell) is so much easier to setup when all have the same system, that using any other system is prohibitive. If you need to interface with hundreds of enterprises that all implement standard SAP, you become the expensive outsider if you don’t. Integration projects can take years and then fail, with nothing to show for - which can threaten a company’s existence. Better to use standard SAP „off the shelf“ and do as little customization as possible.
Had one like that, too. The previous programmer didn't believe in constants and the code was interpreting a binary protocol. Globals all over the place, too - I refactored a variable once and got a message that production is down; it was, the database was busy deleting customer history on all its connection pool threads. To this day I don't know how that refactor could've caused it. Fun times.
If the hardware is not present, why is the button present?
Yes, MK-52 and MK-61 always had a large community of tinkerers around them, exploiting hardware and software bugs (or rather the machine's extreme simplicity) to write seemingly impossible programs. The bugs were never fixed in later revisions though, so while they were fun to play with as a kid, I have mixed feelings about it as an adult engineer. Having an errata instead of actual bugfix wasn't very helpful. My uncle hated them back in the days for this, and when home computer kits appeared, he got one and never looked back.
> i'm trying to make a list of these services (and maybe disable them) to minimize my footprint (often testing out untrusted code from github etc in a small secretive community, ie easy to target)

If you're running a lot of "untrusted code from github", then the list of services you have enabled or disabled on your system isn't going to make a difference.

For someone who frequently runs untrusted code, I'd recommend learning any of:

1. qemu / virsh / how to quickly and efficiently spin up isolated VMs

2. ec2/GCP/digital ocean/any similar VPS provider

3. QubesOS https://www.qubes-os.org/

The first two options will be a more secure way to run untrusted code and provide actual protection. The 3rd has better usability, though isn't as secure.

Disabling local thumbnailing services... yeah, sure, do that, but don't expect it to really do much against "testing out untrusted code".
thanks, dang; you rock!
Climate Action: Where can I Start?
TIL that quote is _actually_ from George Bernard Shaw. https://www.phrases.org.uk/meanings/176500.html
> If you were white, anyway.

And therrrrre it is.
Yes, Rolf Snedsböl!

I absolutely loved his classes. I bumped into him a few years ago when I was holding a recruitment thing for Ghost Games and it happened to be just after his lecture. I told him how much I enjoyed his courses.
Or maybe the lesson is that a whimsical username can occasionally put a smile on our faces?
Sounds like Stripe. I gave a (peer) reference check for a former colleague. They asked a lot more than title and dates of employment.
Visualize Prometheus Metrics in Grafana
You could try to convince the rest of us
I work within the train system of a European country (with ticketing, so I’m on the top and not the bottom of things). From my experience with station and onboard crew, I am very certain that the schedules and patterns are still very much human rememberable, at least collectively: People have to show up for work, drive the train and many other things.

My guess is that the failure is related to signalling or some other knowledge that exists “between” the trains (and brains). Having systems that can negotiate right of way is necessary to increase the number of trains and the speed of each individual train beyond their pre-computer-era limits.

Having all trains stop for one day is probably a judgment call to lower the overall duration: Having all trains stop for a day is a pain in the neck, but you know when you’re done. If you could not wait, you could probably have (quite) a few trains run without problems. However, you would have to work for a very long time to get all the trains back to where they were to resume the regular time table. This would be the preferable option during a time of crisis.
What Bitcoiners Need to Know About Jury Nullification in a Hostile Legal System
Crowded 2.4 and 5GHz is exactly why I was looking at the 6E options. But it's not bad enough that it's worth putting a lot into WiFi 6E. I can connect with an ethernet cable if I'm transferring a lot of data or need to ensure a reliable connection.
why not put it into qbe proper then?
> Was it just hazing, or was the thought that someone might actually be able to accomplish this?

Actually no. Most devs that just got started familarizing themselves with the codebase wanted to refactor the file and came up with the idea themselves. Usually they thought this is a crappy file and this must be an easy task to do because they saw all the nested if/elseif/else statements in the code.

The problem, architecture-wise, was that the road logic was the glue code that integrated a lot of different parts, layers, and NPC behaviours from the rest of the codebase as it was changing the surrounding game world.

If there was a hospital placed with a non-squared ground tile next to it, if it was placed with a 1 offset (roads were 3x3 tiles), if it was placed with a 2 offset next to another road... It went as far as influencing the path heatmap that was necessary for the A* guessing algorithm to make the NPCs walk correctly on the sidewalks. The permutations of possible sidewalks alone were enough complexity on their own...

So in a lot of ways necessary features that historically had no place in the Entity/Component based engine at some point made it in there.

The next best thing (and also spaghetti code) was the Cursor Entity, which had to have line tracing algorithms to be able to select things that are visible under a donut-like shape when the user was hovering the hole, or say, a tree in the game world. Convex and Concave shapes were integrated, and lots of edge cases in there, too, which are actually huge mathematical problems in terms of available performance once you dig more into it, so we ended up with binary height map sprites that helped both the slicing and the cursor at some point.

The important lessons learned from the road logic were very valueable for newbies, as it was teaching the practical problems of isometric game worlds.

So afterwards everyone was able to grasp why the complexity was added, and what was necessary to remove it (in the sprints in the future).

At some point we decided a couple of things because of the road logic and cursor entity for new iterations of the engine, like:

- always use a 1x1 road tile

- always use square based tiles for all objects

- dont make sidewalks, use just road tiles

- dont make trees with holes in their leaves

- dont make trees higher than the buildings

- no artist can ever request crosswalks. Never ever.

...etc
10^10000 is a large number, but it is surpassed only by the 47,852th Fibonacci number -- a small number of iterations for a computer.

I often suppose as a rule of thumb that a C program can perform ~10 million for-loop additions per second (assuming the accumulator fits in a register). So to do 500,000 bignum additions/second, each bignum addition would only require on average the time of 20 normal additions+iterations.

Also note that the functions provided are all tail recursive. Racket performs tail-call optimizations which would make these similarly performant to a for loop.
I haven't considered the parallels between faith and courage.

Faith having doubt in it is something I need to ponder a bit
I think it’s worth mentioning that while the IT system couldn’t coordinate the trains safely, it was a management decision to stop them from running. Coordination can happen myriad ways. For example, trains could operate according to their normal schedule, and if one needed to deviate they could radio in, and an operator could let downstream trains know to proceed accordingly. Maybe simple cell-phone GPS pings could suffice. Perhaps the state of the system was in such chaos that such orchestration wasn’t possible with the staff on hand. That said, a truly resilient system should have multiple coordination channels to fall back upon.
you need to try with all the perl versions, not the parallel versions.
No, he is wrong. Europe was a much harder target. They did well on cities on the Paeonian plains, where it was their natural terrain, but did not do well on European mountainous terrain.
They couldn't even take Dubrovnik, let alone Constantinople. (it took the Ottomans half a century, and the advent of the cannons to finally conquer it).
It's almost as if people respond differently to a newly unknown threat with unknown capabilities.
Have you seen OpenUI5 by SAP? -> https://github.com/SAP/ui5-webcomponents

Look neat. They even have Typescript type definitions to it.

I did a simpile test with ScalablyTyped in order to import those into ScalaJS to no avail but there might be a fix.
I guess you're younger than I am. I recall reading the articles about how the world will collapse with $40 oil...
The short sentences were what got me.
I don't have a Tesla, but the hardware side of things is probably not close to $10k, and probably already being used in a multipurpose fashion. What I'm saying is, aren't you paying the $10k to use the self-driving model?
“Beat them with sarcasm, not arguments” — James Looney
Could a down voter provide a rebuttal?
This. Browser based password saving is only a threat of device theft is a concern. The GitHub repo clearly doesn’t understand threat models or convencience-to-risk ratios.
From what I understand, the failing system is a bit different, in that its primary purpose is to deal with outages and other unexpected events.
> worship god and you’ll feel like a sinner

Especially if you pick the wrong God.
Japan has a nice combination of “we already did mega property bubble and it didn’t work” and “population is falling.” Additionally, structure depreciate even if built
on land that depreciates (almost no one wants to
live in a used house). Perhaps that is the future of the rest of the developing world.
This is equivalent to saying that Microsoft shouldn't charge for Office because "you really are just paying to unlock use of hardware" to do word processing.

It's not immoral to charge for software. There's a difference between charging money to add a toggle button for already existing heated seats on the touchscreen vs. charging money to license the most advanced driver assist software available to the public, still under development.
> The only reason to support these measures are fear and a blind trust in authority...

Nope.

> Maybe you are the one who is wrong.

No, not if you believe the kind of stuff I quoted above.
Easy, 2D is harder because it can have hard edges. Look at any 3D game, the edges of the polygons are obscured by antialiasing methods and texture wrapping. In 2D, you need to draw a line at some arbitrary angle (or worse, a spline!) where on one side there's black and on the other side white. You will have to fake this with subpixel rendering. You also need to detect when the subpixels would interfere with the actual line width. You need to be able to snap two objects together that fit together seamlessly in the mathematical sense, without a sliver in-between popping in and out of existence.

Anyone who has tried to fake 2D using 3D rendering (such as inside a game engine) has likely run into the above issues.