skysight-inc/HackerNews huggingface dataset:
The real reason is the shitty CPU on typical low-end to mid-end Androids. They suck at running JS. And I mean REALLY suck, as in 5-10 times slower than an iPhone.

I recently came across a ridiculous example of a high-end Chinese phone (700$) where one our web app's interactions that normally is near-instant, took 6s instead. Turns out that besides the generic issue of poor JS performance on Android (due to CPU), this particular manufacturer decided to deliver on their ridiculous battery life claims by...running all JS on a low energy CPU core.
US Lifts Sanctions Against ZTE (After It Pays $1.4B) (2018)
Have you considered that they may not be telling the truth?
I spent a lot of time playing cat and mouse with this type of toll fraud in 2022.

1. Rate limited SMS by number/ip: bypassed by large number of proxies/vpn.

2. Added captcha: bypassed by attacker manually signing up thousands of accounts (mechanical turks?) over months and then iterating over them for login OTP.

3. Identifying what carriers/operators are involved and blocking them asap (usually obscure ones).

4. Careful monitoring of SMS send rates and alerting of anomalies to investigate.
You're writing something and you decide you want to apply 'f' to it, so you type '// f' (instead of backspacing like a caveman). It's actually rather convenient.
Sidenote: Is there some score threshold you reach on HN where you can start downvoting bad posts as well as comments?
First of all, it handles the "get me the 2nd to last element" case automatically, but in a way that doesn't feel like a weird edge case: it's more "mathematically sound", basically. I always want mathematical soundness if possible because it leads to serendipity, the opposite of technical debt. Where technical debt is "dammit, this is going to take so much longer than it should!"; serendipity is "oh wow I can implement this cool new feature just by combining these other two things in a new way, in like 2 lines. This is going to be way faster than I thought." Mathematical soundness / purity leads to serendipity.

Directly, it supports caches very well. You just increment the number of things you've ever cached and that's where your next cached value goes; you don't care when it overwrites an old value.

There are other cases where you just need some variant of a thing, but you don't actually care that much about which variant you get. You might want to vary your wording in auto-generated text, for instance, by rotating synonyms. Or rotating the tiles you use in a 2D game. In this case I'd define an interface where you pass in a "seed" integer and it gives you back some deterministic example; a circular array is the simplest implementation of this interface (but there are others).

You could also do simple load balancing by sending work to Worker[workCount++]. While usually you want to track each workers' existing workload (because the work takes unpredictable time), this simple approach could be sufficient if all your work completes in about the same time.

If you're doing fancy math or science computing, you may be working with finite groups or fields, whose elements you could stick in an N-dimensional circular array (based on the characteristics of the field).
Well, I might as well start prototyping tracked shoes. My version would have a wearable battery park with a quick disconnect.
> I don’t know if they also allow it for hex numbers.

They do e.g. Python

>>> 0x_ab_cd_01_23
2882339107

or

>>> 0b_0010_0100
36
I don't think it implies that. If it's American news media, this might make the guy more interesting to Americans. "Yet another American makes yet another game" isn't as exotic or exciting as "Canadian makes game" independent of the game.

I'd just accept it. People care about that stuff. It's not malicious.
It's also nice to get an error when you `recur` from a non-tail position rather than the function just quietly becoming truly recursive.
I can get behind that. Non-competes between two consenting adults - great. If presentations are shady and opaque, that's a different story and a problem (and I would say that about any attribute of the employment contract that isn't easy to understand upfront)
Yeah, and this is a as bad as it sounds.

A pyramidal scheme, nothing less.
Exactly. I see $1k for all that as a steal. I remember spending a lot of money on LVD SCSI in one machine I built to do anything to speed up disk access.
No. All family has disowned me except one who lives right next to a school. No shelters take sex offenders. I'm currently living in a furnished attic of a war vet, it has a bed, bathroom, sink, and microwave. And he hasn't kicked me out yet. He keeps putting papers next to my door that say things like "did you try applying at Yelp?" and other well intentioned hopeless ideas. So he's clearly rooting for me, but he did say I have to pay at some point.

Which is why my goal is to get a job, and not start a gofundme.
San Francisco apparently does not allow employers to consider convictions more than seven years old.

https://sfgov.org/olse/sites/default/files/FileCenter/Docume...
$1399. So it's just for hyper wealthy people
Congrats on the Show HN!

It's great to see more tools in this area (querying data from various sources in-place) and the Lambda use case is a really cool idea!

I've recently done a bunch of benchmarking including ClickHouse Local, and the usage was straightforward, with everything working as it's supposed to.

Just to comment on the performance avenue though, one area I think ClickHouse could still possibly improve on - vs OctoSQL[0] at least - is that it seems like the JSON datasource is slower, especially if only a small part of the JSON objects is used. If only a single field of many is used, OctoSQL lazily parses only that field, and skips the others, which yields non-trivial performance gains on big JSON files with small queries.

Basically, for a query like `SELECT COUNT(*), AVG(overall) FROM books.json` with the Amazon Review Dataset (10GB), OctoSQL is twice as fast (3s vs 6s). That's a minor thing though (OctoSQL will slow down for more complicated queries, while for ClickHouse decoding the input is and remains the bottleneck, with the processing itself being ridiculously fast).

Godspeed with the future evolution of ClickHouse!

[0]: https://github.com/cube2222/octosql
> Components in cars are engineered to be organized as efficiently as possible

Ever heard of an SUV? Cars are not designed to be efficient, they are designed to meet product goals. Sometimes those goals are efficiency, such as meeting an emissions or efficiency regulation. But most of the goals are "what do we think some schmuck will pay $30K for?"

If 100 years ago, replaceable batteries were not a barrier to storage space, they certainly shouldn't be now, unless we're just admitting that we suck so much at building cars now that we can't even make them like we did 100 years ago. Battery swapping services existed for 20 years. It only stopped because the market decided gas would rule instead.
I do find it ridiculous that getting Google support has gotten to a point where people need to post for help on a forum in which they are hinted to go to another community and look for a person who has “in” with a team.

I really should move off Gmail.
You can play with it on https://uberduck.ai/ and they have a very active Discord!
I'm on an 8+ year old workstation with an i5-4460 (quad core, no HT) 3.2ghz, 16gb memory, first gen SSD and I also don't feel the need to upgrade.

All of the web apps I build inside of Docker with WSL 2 reload in a few dozen milliseconds at most. I can edit 1080p video without any delay and raw rendering speed doesn't matter because for batch jobs I do them overnight.

Writing to disk is fast and my internet is fast. Things feel super snappy. I've been building computers from parts since about 1998, I think this is the longest I ever went without an upgrade.
Perl's if and unless operators, which can also be postfixed, eg:

die "can't be negative" unless $i >= 0;

Perl is full of usability features, like <> for reading input, inline literate coding annotations, implicit $_.
Also on a function?

var getDate() { return „no date“; }
It's much older, it's lambda calculus stuff. It's a way to implement recursion in a language which doesn't have recursive functions (but for some reason does have first-class functions).

However it allows making anonymous functions recurse as well.
Unless there is a kind of DID that also makes you speak arabic (which you normally don't know how to) and shows your logged-in TV that you sold being located in a distant random location, I seriously doubt your theory.
I'd like to see the "in" operator from SQL in C-style languages.

Something like:

if(x in (null, 2, 3.14, foo(123)) {
//
}
Thank you. If I could go back and time and steal this comment's content and post it instead of what I did, I would. This is what I was trying to say but I lack the knowledge and writing skills to do so, apparently!
I don't know where GP's old employer was located, but it sounds like it's in a low cost-of-living area, the kind where homes can be had for under $100k. Earn $50-60k a year, pay off your house in maybe ten years instead of thirty, save a little each month and invest and let it compound over time; at the end you could have enough for a comfortable retirement and maybe even have some left over to hand down to your children.

It's not "fly to Paris on a whim"-level wealthy, but it sounds like a life well lived to me. What is your definition of wealthy?
Well, yes. You can't just erect stuff on public land willy nilly.
Looking back at this comment, I have no idea how the $300k would be financed and there's probably some interest payments that make it higher than $2,083/month. Regardless, the concept stands, especially given how much people normally pay per day or week of vacation.
I nervously laugh about it, but ever since this occurred to me I get the feeling that it's almost too predictable, poetic, and plainly dumb-as-a-species not to happen.
>> Symbols

> In Haskell you use hash has a prefix instead of colon.

Can you give an example?
Your first two paragraphs are written if the 2nd was some sort of exogenous tragedy, rather than the obvious result. Chesterton's Fence, etc.

But again, I don't expect joe public to have enough understanding to navigate this stuff solo.
The Guide to No-Code Development 2023 Edition
Traditional roller blades would be a pretty close competitor. Replace the slight inconvenience of having to charge them with the slight convenience of having to learn how to skate. Skateboards and longboards would be other options.
My 1 rule of negotiating offers: no matter the offer, I will reply with an email containing the following words:
"Could you do <+$10k>?"

It's worked several times, it's not worked several times. On average, people will meet me in the middle.
Wow that's a hell of a failure from Tesla. And the 3 others (Audi, BMW, Ford) just did fine.
A Steam client update is also ~100MB and it happens frequently (seems like every 1-4 weeks at usual pace).
Amazing points. The day of the dorm-room student billionaire is already over. This said, GP's comment has some value. If we take "relatively small company" to mean number of employees (although this wasn't made clear) then there is some truth to the idea that a new, unencumbered company can do more than an established one. But I feel GP is minimizing Microsoft, Google and Nvidia's contributions to ML research, and perhaps overplaying OpenAI's role in pitting it against other players when clearly everyone is building on each other's result. GPT uses a transformer architecture, which was created by Google Brain, and the first GPT paper alone cites 71 other papers, each, in turn, citing their own...
When I was working shit jobs for minimum wage in Washington I hitchhiked to North Dakota's oil rush and slept in a train yard. It literally cost me nothing.

When an able bodied, single, mentally competent and healthy young person says they don't have enough money to move across country it is actually code for "I have no initiative so I will sit and cry like a pathetic child." Meanwhile people are successfully walking across the Darien gap and the Sonoran desert with entire families to find success.
There is a hidden third option called "diplomacy", e.g. JCPOA. Neocons hate this one weird trick!
I was under the impression that Elixir introduced this.
McDonald's in my small 5k population town in Montana (which has a bit of a reputation for shit wages) was advertising $20/hr (might be $19 and I'm mentally rounding up) last summer including paid leave. McDonalds is nearly to your starting pay. The market has adjusted.
bang to run a command is from ed. thats pretty core vi
I'm not sure if it's known. But in general loading stuff off disk or spawning processes is slow in windows.

But even on my fancy M1 mac, Org takes ~0.5 seconds to load initially. Assuming "emacs -Q". With some modest tweaks to org in my init.el it takes ~0.75 seconds to load Org initially.

Not too bad, but Org's load time abuse is still firmly in the realm of human perception on the latest, greatest hardware.

Here's a comparison between Org and Markdown modes initial load time on my M1 mac.

markdown: 0.08 seconds
org: 0.732128 seconds

Sure it's a price you only pay 1 time per Emacs session. And it's somewhat acceptable on Linux/Mac. But Windows is still an important platform and 30+ seconds is just ludicrous.
Wow, this sounds like me. I'm good at conceptualizing and rarely needed to study for my comp sci classes. I was actually decently skilled when I first started, working on monoliths. Now I'm struggling because of poorly documented apis, incomplete requirements, and overbearing tech debt or messy technical design. If only I could find a job with an orderly structure.
I would assume they're looking for a specific constant value.
The most recent addition to the digit family being Phoenix’s new ~p”/healht”, which is a HTTP route string that automatically verifies whether the route exists, and returns compile-time warnings when you link to a path that didn’ doesn’t. It’s fantastic, and really surprising it took this long to be added to any web framework.
Violations are determined via a legal complaint and review/investigation. Violations are not termined by company A hiring a person from company B.

Non-competes (non-paid out) only put time between companies (in some states it might be beyond the lifetime of the person under a NC). To put that, and not fully pay out at the current salary, puts a uneven pressure on the individual who was pressured into agreeing to it for (unguarenteed) employment.

Additionally, non-competes survive termination by the company.
America Has an Incest Problem (2013)
I honestly feel like your career in the US is over, the system is too rigged against you. According to them, you are a "sex offender" AND you owe a lot of money to a woman for a long time with nothing in return. Your best bet is to go to another country and start from scratch where you will not have any "sex offender" hindrances and you will not owe money to anyone. Trying to get child support from someone in another country literally never happens, its impossible. You could go to europe, Portugal has very high quality of life and low cost of living. Or you could go to another country like panama, Thailand, malaysia, georgia, ect. There are plenty of companies hiring there that would appreciate your skills. In terms of your name being googled, obviously you have to either legally change your name or go with a pen name, like your middle name, and a different last name. In terms of your children, you have to accept that your wife did this to them, and whatever lower quality of life they experience is your wife's fault, not yours. They wouldn't be experiencing this if your wife didn't do this. Your best bet is to leave the country and save up as much money as you can that you can spend on them when they turn 18. Until then, try to keep in contact with them digitally, teach them how to secretly keep in touch with you.
That would be incredibly inefficient. The price difference of such a 128MB L3 + 0GB DRAM, compared to let's say 128MB L3 + 2GB DRAM would be quite small, and in practice the performance would be much much higher because realistically in your 128+0 setup you'll be wasting easily half of that on the OS or libraries data that isn't actually needed at the moment, whereas having DRAM you can actually use the whole 128MB of L3 for things that need to be fast.

It's also extremely niche to have a workload that requires such high CPU performance, but that it would fit including a linux OS in 128MB. Usually something like that is FPGA or DSP territory.

I think what you want is a cheap ARM CPU with DRAM stacked on top of it on the same package (which exists).
The way it worked (in my case at least) is that as part of my signing on with the fund, I consented to their ability to block my employment with anyone for 2 years post departure (technically, they could have blocked the FAANG job but there'd be no reason to - and similarly they could have approved a job in finance if it was sufficiently removed from what I was doing.)

There was no "money for the non-compete" involved, other than perhaps the premium baked into my compensation to begin with to make the deal attractive.
if they mow your lawn 10 times in a row and bill you 10 times... you should charge back 9 of them
Great game, but I won't really sign up for a gaming service that is controlled (in part) by Tencent.

Don't get me wrong, Epic makes great stuff. The Unreal engine is amazing. You can argue Tim Sweeney is the CEO, but any meeting at a high level with Epic includes Tencent. You are not talking to Sweeney alone, it's Tencent and Sweeney.

The way Fortnite targets kids for Vbucks and skin sales is pretty gross too. Many stories of Mommy's credit card being ran up. A game that is essentially banned in China.

No thanks. No amount of free games will have me install the Epic Games client.
My mother has had poor memory, lower energy, and without a sense of taste for over a year now, starting right when she got covid. She's of the bunch that believe lockdowns should have never happened, COVID is overblown, and definitely isn't in the anxious cohort that people around here like to use as scapegoat for long COVID.
When your code-base reaches a certain size, you cease using the IDE to find code and instead start using specialized tools, such as Lucene indexes so that grepping through code takes seconds rather than minutes. One of the bads of this is that using regex over an index is O(n) in comparison to the O(log(n)) of a normal index lookup.
Great if all you ever need to do is go to cities.
# Function Shorthand ####

I like how functions in js can be `arg => result`. In F# I have to do `fun arg -> result` with the `fun` keyword. It makes sense since `MyArgType -> MyResType` is a type signature in f#, but I feel like the compiler can just check if the arguments are references to types or are argument bindings.

# Multiline Lists/Arrays ####

I like how F# doesn't require delimiters for multiline lists.

So I can do `let myList = [1; 2; 3]` or

let myList = [
1
2
3
]

# Regex Literal ####

I like how in Crystal instead of doing `/my[regex]/` i can do `%r(my[regex])` where the parenthesis can be any brace type (like "(", "{", "<", "[") so I don't have to escape any characters.

# Argument Accessor Shorthand ####

In Crystal, you can use an ampersand to bind and access a property on an object, instead of writing the verbose form with a function.

So this

["a", "b"].join(",") { |s| s.upcase }

can be written as

["a", "b"].join(",", &.upcase)

If this were available in F#, for example, instead of

["a"; "b"]
|> List.map (fun s -> s.ToUpper())
|> String.concat ","

I could do

["a"; "b"]
|> List.map &.ToUpper()
|> String.concat ","
> This isn't the case. If you override `send` it only affects direct usage of `send`.

Correct, I both (minor) confused #send with #__send__ and (more signifcant) misremembered the mechanism of some deep metaprogramming hacks involving a a mostly blank proxy object and #method_missing as using metaclasses and #send/#__send__ hacking; where that came from I don’t know. Should have not mentioned overriding (as its a tangent, in any case, as well as vmbeung wrong) or the #send method and referred to the fundamental underlying message send operation.
Elixir’s testing library uses meta programming to show the code that fails and what the values were at both sides of a comparison.

IE

a = 1; b = 2
assert a == b

Will fail with error like:

Assertion failed,
a == b
Left is 1
Right is 2

So you don’t have a bunch of assert-functions; you just assert anything and it will spit out a decent error.
> but their positioning seems to indicate more interest in solving hard science problems with AI than with building human-aligned productivity tools and assistants.

Except they literally have a product called “Assistant” that uses language processing today. Sure gAssistant doesn’t use a LLM to generate the response… but instead it uses factual data from the internet to generate a response. I imagine they could easily roll out a LLM if they wanted, but surely most queries are just smart-home and weather queries that don’t need it.

And they have AI infusion into gmail, Google docs, etc. this is where the actual value of a LLM will live. Chat GPT is cool, but the biggest uses of LLM will surely come from “assistive” tech built into these existing products. Why write a document when you can write an outline and the facts and Google docs will write it for you? We’re already getting there with e-mail response autocompletes.
Nonsense. The US isn't being punished.
Certainly nobody can reasonably conclude that "working long hours to live a basic life in an extremely low cost of living area" is "wealthy".

We can all agree that we have different definitions of wealthy. But I think we can also all agree that your description of that life, which is maybe "well-lived", is not one of wealth in the context of this discussion. It is certainly not an "ass-busting outcome".
> Chatgpt is the first mover but I doubt it will be around for long.

Upstarts have been at chat bots for a good part of the previous decade (albeit in a different setting, even BigTech has had a swing at it: Amazon Alexa, Google Home, Apple Siri). ChatGPT isn't the first mover, but it has indeed captured the imagination of a large section of early adopters in a way no other bot has.

It also isn't like highly-proficient utility AI didn't exist before GPT3. Imagine if Google Translate were a bot...
> The first time it's seen in any environment, it thread-safely inserts-if-not-present the default value into a key-value storage

That seems like a great way to get amazingly hard to replicate bugs or odd behaviours if different subsystems use different values for the default.
That's it, thanks!

Summary: It was a massive pain and none of the benefits materialized.

Great thing to look forward to for Shopify. Let's meet here again in a year or two for the exit blog post.
Plenty of people just put "non compete" for that span of time, especially in the hedge fund world where these are common (and compensated).
If you find yourself spending more time in Windows, mounting Linux drives with WSL can make sense for you.

Luckily I don't need to dualboot into Linux and not tried exactly that myself, but I happily run BTRFS over loopfile as LXD storage pool in my WSL setup and heard of stories mounting ZFS disk partitions.
That depends on what parts got ported. I worked on a large app where just a couple payment screens too as long as most of the rest of the app because there were so many business rules to take care of.

If they prioritize the most important and complex parts of the system, they may be a lot closer to finished than the numbers would seem to indicate.
You could say the same about a function call or a function that takes an object as an argument - who knows what code lies behind the impenetrable barrier of structured or object oriented programming?