skysight-inc/HackerNews huggingface dataset:
s/thread mills/tread mills/g
I have aliases like

- `ls` for `ls-files`
- `lo` for `git log --oneline`, then add a variety of letters in multiple combinations like
- `r` for `--reverse`,
- `s` for `--stat`,
- `om` for `origin/master..`,
- `1` for `-n1`, `2` for `-n2`, `3` for `-n3` (maybe up to 5),

- `rbi` for `rebase -i`,
- `rbiom` for `rebase -i origin/master`,
- `rbc` for `rebase --continue`
- `rba` for `rebase --abort`

- `cp` for `cherry-pick`,
- `cpa` for `cherry-pick --abort`,
- `cpc` for `cherry-pick --continue`

I also have _shell_ aliases like `gits` that works out to `git status -uno`, and `gita` that lets me add tracked files. I need a `gitca` for `EDITOR=true git commit --amend`.

Notice I don't have aliases for merging. I use strictly rebase and cherry-pick workflows.
I did not do this personally but I know a number of people (blue state liberal city folk) I don’t think it was that unusual.
Corporate personhood is a very old doctrine which is described by the law itself as a legal fiction.

Corporate personhood is what allows your anarchist grocery cooperative to sign a contract with the organic farm on the outside of town, or add someone new to the profit sharing arrangement when they sign after putting in the mandatory hours. It allows a collective, however organized, to function as though they were an individual.

It has nothing to do with Citizens United whatsoever, and it isn't the problem you seem to think it is. Business couldn't function without the fiction, and replacing it with something else would have to work in basically the same way, so it's pointless.
The entire point of being a refugee is that you can't go home. It sounds like a trick question. "Haha, if you could go home then you're not really a refugee, so we're deporting you instead."

Perhaps that explains why almost nobody applied and only one got it last year. Many would love to go home. They just can't.
Even if this is true (and I suspect it's exaggerated), I'd be happy to go through this trivial amount of hassle for $400K.
it probably works just once per individual at least
That sounds like an ad-hominem attack to avoid the question, tbh.
I did something similar but not open source: centrallogging.com it is surprising how SQLite can scale for smallish amounts of logs (1tb)
There is a blind user on /r/openscad on Reddit who has been trying to do that.
Git _is_ branching. Every clone is a[n unpublished] branch.
Given the profound lack of higher order thinking that led to Europe's experiment along these lines over the last decade or so I wouldn't be so sure if they have.
What matters for games is apple rebuilding bridges with game devs and creating a developer environment that supports game dev on the platform once again.
I just don't get all the hate for Firefox "AI" integration. Probably I am out of the loop, but to get access to all chatbots that are actually collecting user data and using questions for more training, are "locked" behind some API and requires for user to enter login credentials? Please correct me if I am wrong. Sure, I hate Pocket as any other Firefox user, and always disable it on new install, and I assume I will be able to disable all those chatbot integrations too? Oh, and I forgot about the new weather widget... Yes, situation is dire.
If what was originally a packet is fragged, the TCP headers may (likely) not be in all the frags. So if you're looking with wireshark and you think you can filter with TCP flags good for you, 90% of the world feels that way.

I work with DNS a lot and when a protocol which is datagram-oriented is translated to a stream-oriented medium and somebody wants to potentially handle multiple requests in that stream because "efficiency"... it's so important... they need a way to distinguish those embedded datagrams: "we should do it they way they did in HTTP, with a Content-Length: header, yea THAT's the ticket!" I'm sure that's what they were thinking.

Then along come the 90% and when they try to process DNS requests in TCP streams it's "what's this two bytes in front of the request? I dunno, but I just skip over it" and I suppose it works well enough, because with frags they'll drop the tail of the requests because "corruption" anyways, and who on earth sends multiple requests in a single packet, amiright?

You may think I'm kidding, but here's some really clever (really!) eBPF code: https://gist.github.com/oghie/b4e3accf1f87afcb939f884723e2b4...

If you want more on this topic: http://consulting.m3047.net/dubai-letters/dnstap-vs-pcap.htm...
Implement algorithms that minimize slippage
This isn't a new approach. I know Norway used it after the Yugoslavian civil war (and especially the conflict in Kosovo), to encourage refugees to go home. I've also seen ads from some NGOs offering financial support for return.
Yes. I’m facially ugly.
Sure, maybe optimize further. Why have managers? The CD pipeline goes throughout the whole value stream, not just at delivery. Just like delivery automation (eliminate intervention of humans), there's also human automation (helping people get out of their own way). So I could see a use case where managers are just eliminated. You need people who can eliminate the noise and replace with enough signal that delivery teams can execute. POs and stakeholders can do that; managers not needed.

I think what you bring up though is an interesting point: maybe managers needs to transition to business engineering roles.

This all will play out in the 21st century. 20th century management is a legacy artifact at this point. Best example is F500s, which are generally mediocre in their execution. If a SpaceX type org (14k employees, private) gets into their space, they're screwed. Even with politicians in their pockets, I don't see how rock swallowing dinosaurs like Boeing (170k employees, public) will make it. Just the energy they have to expend to get anything done compared to SpaceX is massive, due in part to their giant management bureaucracy.
Sculpture commemorates 16th century drowning that inspired Shakespeare
> I’m guessing the primary use case for this will be setting cookies.

There's a huge difference between "this could potentially be used to fingerprint a client" and "this will primarily be used to fingerprint a client".

There are many potential fingerprinting mechanisms that rely on tracking what the client already has in its cache. Clients could easily partition their cached dictionaries by origin, just as they could partition other cached information by origin, and that would prevent using this for cross-origin tracking.

This proposal would help substantially with smaller requests, where a custom dictionary would provide better compression but not better enough to offset the full size of the dictionary.
Apples issue is not whether it is a powerful enough device to run games, but an issue of software compatibility with modern games.
The article addresses this. In Sweden in particular, a lot of the migrants are from countries in unrest. Last year's reward was $1k and exactly 1 person took it. The article said 'experts don't expect there to be a substantial increase in claiming the offer' with the increase to $35k which is surprising to me, but I suppose still makes sense as $35k won't make Damascus any safer.
> Look at any top show hn post and you'll see all this talk about the market fit, the competitors, and how much money that product can make.

This isn't really true. Look at the current top Show HN: https://news.ycombinator.com/item?id=41544969. Zero business discussion on there.

I've been avoiding the business threads on HN for about 10 years now[1], and the frontpage still has enough stuff to keep me coming back, and the comments on those threads are fine as well. There are fewer comments on those threads, and that too is a good thing.

HN is 3 distinct sub-communities, to my mind: startup news, hacker news and what I think of as "the human condition" news which encompasses humanities posts like lithub and so on. I participate in 2 of them.

I agree with you that we hackers are part of the problem. But it's not a systemic problem. We can still choose what we attend to. We're not lacking for options.

[1] I really wish that people used HN's favorites feature more, and that favorites were more organically discoverable. Here are mine: https://news.ycombinator.com/favorites?id=akkartik
The Investors List of Lists
I was working on a similar think a while back [1]

I was living in an apartment while building my house. My idea was to have a camera making a time lapse video with the secondary effect of being able to be accessed by me from the internet so I can take a look at how the crew was doing. Unfortunately every single ideia that I have is already had and developed by anybody else. In this case, china. Ali express have some pretty good cameras that does that and more; with a better finish then a 3D print shitty case...

1 https://youtube.com/watch?v=5E7_40PWqiQ
I had one of these and I think I bought it from Staples, Office Depot, or whatever the predecessor to this was. I can't remember the exact timing but I picked up an IBM Simon around the same time.

Both were half baked products that ended up in a drawer after a couple of weeks. The EO had lousy battery life and not as good as pen and paper for note taking which is why I wanted it.

I had various devices over that time frame which included the Palm Pilot, Sony Magic Link, all of the Newtons, a Sharp Zaurus, and so on. The one that really stuck was the Psion MX5 as I could actually touch type on it.
I’ll go on a limb and say most people writing articles like this are young, inexperienced, and living in the moment rather than seriously thinking of their future. They think “wow, this is fun, I have no pains, I could do this forever”, but don’t realize yet what that truly means. Of course, I’m still rather young myself, so perhaps it’s the pot calling the kettle black.
Your post is a little broad but a lot of your hatred seems to stem from an unfortunate environment - to which I'm sorry to hear that you had such a rough experience.

To me it sounds like you just don't like "ORGANIZED SPORTS". Have you tried something a little more individually involved such as tennis / ping-pong / martial arts / etc.?

My heuristic for personal enjoyment of a sport is that I must directly interact with the related equipment for a minimum of 30% of the time. That immediately rules out most organized sports such as football or baseball. Ultimate frisbee is contingent on a maximum of four vs four people.

I'm just not a fan of spending vast amounts of time running up and down a field waiting for the opportunity to potentially participate. I can already do that - it's called running.
The main complaint I have with CadQuery et. al. is the API verbs are all coming from the point of view of describing bRep shapes instead of thinking about the design from the standpoint of "how would I make this?".

I think there's an opportunity for a code-first CAD API to incorporate GD&T and manufacturability information directly as part of the modeling process. For example, if I'm making a shaft I want to describe that operation as it will actually be performed in the shop e.g.:

(1) select round stock of nominal dimension X
(2) cut to rough length
(3) chuck in 3-jaw chuck and drill center
(4) flip around in 3-jaw chuck and drill the other center
(5) mount between centers
(6) turn to rough outer dimension
(8) turn down to add the various bosses, threads, chamfers, other details, etc...

With this kind of a process I get all kinds of GD&T information for free--for example, the precision of my 3-jaw chuck determines how much larger my nominal dimension X needs to be than my target rough outer dimension to be able to reliably achieve it.

So I think these APIs are coming at the problem from the wrong point of view--they're all about driving the CAD kernel and telling it how to draw abstract shapes in a computer. Instead what I want is to tell the computer how I intend to make the thing and get an estimate of what the result will look like.
My experience aligns pretty well with this. I spent a lot of years doing grunt work, which is what led me to code and moving into a software engineer position. Having that background has been invaluable.

It seems like every week I'm on a meeting where someone who hasn't done the work start putting metrics together and they look wrong. I go pull them myself, knowing what should be where, what is noise to filter out, etc and I end up with much better numbers.

It also lets me put myself in the shoes of the support staff so I can write something that will hopefully be easy to run in production, and do a proper handoff instead of throwing it over the fence.

As tools change over time, and work evolves, I worry I will become less effective in my current role as I have less knowledge of the modern grunt work within the company. However, I have little interest in going back to it. I used to try occasionally. Without fail the thing I thought I'd help out with since, "it will only take 5 minutes," turns into an all day event with follow ups which can last days. Then the person I helped will come to me for all their future issues, instead of going through the proper channels. I had to stop. I try to keep an open dialog, so people feel like they can come to me when they see issues where I might be able to help, but that isn't nearly as effective as the first hand knowledge.
If you're dealing with a commonplace, non-"bizarre" opinion or characteristic, generalize all you like.

If you're dealing with a batshit insane, self-evidently "bizarre" take -- made by somebody terminally online in what is well-known to be an echo chamber -- then it's the height of folly to generalize from it. I'm completely sure that < 0.01% of the reading public shares that weird opinion, so why write about it as though it's indicative of a normal viewpoint or coming trend? That is the height of folly.
String Theory's Leading Contender Disproven?
For more context:

https://ourworld.unu.edu/en/systems-thinking-and-the-cobra-e...
Another good one is the famed "Zaratsu polishing" on watches, named simply for the manufacturer of the polishing machines (Sallaz).
This is a completely false equivalence. While the coffee farmers do deserve to get paid more Starbucks is also doing an incredible amount of supply chain management, making sure that the stores work and they are also employing a bunch of more people and they're getting a bunch of things in place for that coffee to be sold.
Per the article this is from the party that "began as a neo-Nazi movement in the 1980s but rebranded itself as a conservative party, with curbing migration at the center of it platform."

I would imagine it's ideological demagoguery and not concerned with serious critical analysis of long term effects.
A Catch-22 situation
Watching the new approach Germany is taking by closing borders, this seems like it might be a more viable option. 34k in some of the countries they fled from can move people to a new class of standing. Obviously that presupposes that they have a somewhat functional country to go back to (Yemen, Syria, etc) but I suppose it can’t hurt to try. It’s expensive to deport people anyway, so perhaps using the carrot instead of the stick will work more favorably.

The reality is that countries and governments are made of people. If you piss them off long enough, bad stuff is going to fester and violence will eventually come forth as the “only viable solution”. It’s up to policy makers and politicians to lead public discourse and try to find a solution.

I think the other thing though is that governments need to be more open about the consequences. We’re seeing this now in the Netherlands with the push of the new right wing government to cut immigration visas. But whoops, now we don’t have enough people to fill jobs and the tax base is being pushed to the edge to pay for social services that are only going to get more and more strained.

Without some form of immigration, the west as we know it will cease to function as the population ages and jobs are not filled. So sure, you can vote to keep the immigrants out, but just know you’ll probably die alone from a preventable complication because the home health nurse is stretched between 30 patients in a 24 hour period. Elections and choices alike have consequences and not voting is also a choice.

To end on Sweden again, im sure the rest of Europe will be watching this experiment very closely, though cynically I don’t think it will matter or have much of an effect.
The issue isn’t the hardware its the software.
On the diabetes point specifically.

Having drugs to treat it is good. But a food system and built environment that causes a big chunk of the population to develop T2D in middle-age, and sees the solution as "take a pill to make it go away" is a profoundly unhealthy one.

Insulin-insensitivity is supposed to be a rare-ish disease of old age, not a common disease of middle age.
Are you arguing staying alive through winter as something less beneficial to bitcoin mining?
Wars do end though. It’s not like there are no exceptions to this. Lots of refugees want better economic circumstances too. It’s not always a threat of violence back home.
I don't think this is going to be an issue as Linux has a built-in rate limiter.
Is there a difference between a refugee and a migrant? I'd suppose a migrant can take the money and go home and afford themself a better life, whereas for a refugee it will take much more than economic resources.

The title says it's going to be for migrants.
Well, assuming progress in the place they fled from, there are bound to be periods in between "You'll die if you go back now" and "It's perfectly fine to go back now". For instance, when the invaders have gone, but there are too few homes due to the destruction and winter is approaching.
Show HN: A GenAI language learning app, personalized content in seconds
Website: https://parakeet.world/
Web app: https://app.parakeet.world/

Story

I used the Pimsleur Method to learn German and loved it but I quickly ran out of content. To solve this I built an app that lets you create on-demand langueage learning lessons.

How it Works?

1. Tell the app what you want to learn
2. Get a personalized language learning lesson

Want to help out?
- Check it out on the web app
- Android: submit your email on the website to help us as a beta tester (we need users to release on the Play Store)
- iOS: submit your email on the website to beta test it

Help us make Parakeet better by trying it out and giving us some feedback!

Next Steps for Us

We want to expand into being a genAI audio platform
I miss the debate about energy consumed by X or Y programming language. In this AI era, my only hope is the trend going toward the usage of micro-LMs.
Deploying a Django App with Kamal, AWS ECR, and GHA
Why not accept the money and apply for asylum in another country?
What do these DSLs look like, if you don’t mind sharing?
Some large percentage of those “refugees” go to their original countries for vacations[1]… so apparently it’s not so much being a refugee (as in being persecuted), but rather economic and welfare opportunists who refuse to integrate. Now, true, western economic migrants don’t always integrate, however, they typically have set stays and plan going back to their home counties and aren’t a drain to the host countries.

[1]https://www.quora.com/A-recent-poll-conducted-in-Sweden-foun...
Interests can change
Measuring Housing Regulations at Scale
We still need to force people to pay into retirement funds, but we can do so in a way that ensures people get what they put in and then some, rather than receiving scraps from the government. Ideally, rather than pay income tax, it’s put into a pre-tax retirement account under your control akin to a 401k, and invested into passive long term investments. Once the person withdraws the money, then sure the government can take a cut, but the federal government taking 25% of my income just for existing, with no benefit to me? Fuck that.
I know this is a joke trash comment but sometimes politely responding with data may be helpful.

The average income in the US is $20k higher than that in Sweden.

https://www.worlddata.info/country-comparison.php?country1=S...

US is a top destination for Swedes moving out even without this incentive, but Sweden is not a top choice for US expats.

https://www.statista.com/statistics/523165/sweden-emigration...

https://worldpopulationreview.com/country-rankings/american-...
> I wonder what percentage of http traffic is redundant compression dictionaries. How much could this actually help in theory?

A lot of times you will send a (possibly large) blob of text repeatedly with a few minor changes.

One example I've used in practice is session descriptions (SDP) for WebRTC. Any time you add/remove/change a stream, you have to renegotiate the session, and this is done by passing an SDP blob that describes all of the streams in a session in and out of the Javascript Session Establishment Protocol (JSEP) API on both sides of the connection. A video conference with dozens of participants each with separate audio and video streams joining one at a time might require exchanging hundreds or even thousands of SDP messages, and in large sessions these can grow to be hundreds of kB each, even though only a tiny portion of the SDP changes each time.

Now, you could do a lot of work to parse the SDP locally, figure out exactly what changed, send just that difference to the other side, and have it be smart enough to patch its local idea of the current SDP with that difference to feed into JSEP, test it on every possible browser, make it robust to future changes in the SDP the browser will generate, etc.

OR

You could just send each SDP message compressed using the last SDP you sent as the initial dictionary. It will compress really well. Even using gzip with the first ~31 kB of the previous SDP will get you in the neighborhood of 200:1 compression[0]. Now your several-hundred kB SDP fits in a single MTU.

I'm sure WebRTC is not the only place you will encounter this kind of pattern.

[0] Not that either gzip or using part of a document as a dictionary are supported by this draft.
TBH I am not sure but I suspect the answer is yes. I use OpenCascade as the base CAD kernel and it handles things like Z-fighting a lot better. I built DSLCAD after completing porting OpenSCAD to wasm because I wanted a better programmatic CAD platform. It's development is really "as I need it" from then on.
You are assuming they are refugees rather than regular migrants.
If you use a bulk insert pattern you might be able to get ~50K inserts per second. If you have to insert one record at a time, it will likely drop down to ~3K or so.

The key is the covering index, you don't want to hit the actual table at all. You should re-organize the index periodically as well in order to ensure optimal query times.

This is suboptimal in many ways as the records are tiny yet there is per row overhead. However, it works fine to low billions of rows in general. I think it would work fine in SQLite as well. Redis is a very different animal however so a different strategy would be needed.

Migrating the same schema to ClickHouse when you need it (I have no affiliation with them), will give you 50X lower data footprint, increase your ingest rates by 10X and your query times by about 2X. However, if you don't really need that, don't bother adding another component in your infrastructure (imo). Also, ClickHouse is much more of a purpose built Ferrari. I.e. you can't expect it to do all kinds of "off schema" type queries (i.e. give me all the stock values on Jan 10, @ 10:32:02.232am). In a relational DB you can add indexes and get results reasonably well. In ClickHouse schema == query pattern essentially. Naturally, you should know what you are doing with both models but in ClickHouse, don't treat it like a "magic data box" that will can handle anything you throw at it (beyond a certain scale at least).