Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amenghra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
amenghra
3y ago
the CodePen looks better if top is set to offset the border (i.e. -1px instead of 0). It avoids the table body from bleeding above the header. Compare: https://codepen.io/bradleytaunt/pen/bGZyJBj With: https:
182.
▲
by
amenghra
3y ago
some cloud providers offer a certain amount of free egress each month, while others charge a flat fee for egress over a certain amount I parse this sentance as saying the same thing twice.
183.
▲
by
amenghra
3y ago
The correct mental security model here is “if you used an account on a company issued laptop/phone/any hardware” == “the company technically already has or can get access to the data”. There are so many ways for a company to do th
184.
▲
by
amenghra
3y ago
Tada: https://www.typescriptlang.org/play?#code/PTAEBUAsEsGdQA4CcD...
185.
▲
by
amenghra
3y ago
https://beza1e1.tuxen.de/articles/accidentally_turing_comple... lists a few type-related things. Type inference has been proven to be undecidable in some cases (e.g. with dependent types).
186.
▲
by
amenghra
3y ago
As if source code rusted except in this case, Netscape's descendant did rust -- in a different way.
187.
▲
by
amenghra
3y ago
It's ugly and hardcoded for a 3x3 grid. Can we improve this? Slightly better: https://www.typescriptlang.org/play?#code/PTAEBUAsEsGdQA4CcD...
188.
▲
Show HN: Program will only compile if the grid on line 30 is a magic square
(typescriptlang.org)
10 points
by
amenghra
3y ago
|
5 comments
189.
▲
by
amenghra
3y ago
This. There used to be a fun geography game on the Commodore 64 where you had to fly a helicopter over countries/capitals. It was fun because when you had no idea where a country was, you just kept flying in circles. They got the gamep
190.
▲
by
amenghra
3y ago
I think Battleship on a hex or irregular grid could be more interesting than a regular grid.
191.
▲
by
amenghra
3y ago
This belongs in Sigbovik.
192.
▲
by
amenghra
3y ago
Not to be confused with micron, which is the size of most politicians’ accomplishments after they get elected.
193.
▲
by
amenghra
3y ago
Referer/referrer, macaron/macaroon, the web isn’t good with typos…
194.
▲
by
amenghra
3y ago
If the data is also encrypted at rest (as they claim it is), then even if the raw data is recovered it shouldn't be useable without a combination of key leak.
195.
▲
by
amenghra
3y ago
One of today's lucky 10'000 -- enjoy!
196.
▲
by
amenghra
3y ago
(author of the blog post) I would have loved to take into account each comic's age and compute some kind of normalization/weight but never got around to doing that. It's hard to do this kind of normalization correctly since H
197.
▲
by
amenghra
3y ago
That's by design. They want to minimize the number of people who completely unsubscribe.
198.
▲
by
amenghra
3y ago
Feel free to resubmit it on a slow news day -- my submissions tend to fizzle out.
199.
▲
by
amenghra
3y ago
I don't consider myself a datascientist but I did some HN x XKCD analysis a while ago. The HN dataset is hosted on Google BigQuery and it is included in some TB per month of free tier processing you get. I.e. you can answer your questi
200.
▲
by
amenghra
3y ago
An Artisanal QR Code [1] shows how to compute the checksum by hand using arithmetic similar to a long division. There are actually two slightly different codes (Reed-Solomon and BCH) for different pieces of information. [1] https:/&#x
201.
▲
by
amenghra
3y ago
You could put all the logic in the USB connector and then not have to modify the shell. See eg the OMG cable: https://mg.lol/blog/
202.
▲
by
amenghra
3y ago
Depending on jurisdiction, there might be cases where law enforcement can force you to use your biometric to unlock your phone but they can’t force you to reveal your pin. Reality vs what’s technically legal makes this comparison hard (ie c
203.
▲
by
amenghra
3y ago
Just because your government can break your opsec doesn’t imply it’s not worth doing your best. Maybe you’ll avoid being caught in a lower-cost/mass surveillance system and you might not do anything to attract a more dedicated attack.
204.
▲
by
amenghra
3y ago
That why the existence of class action suits is a good thing (imho). It balances power to some extent. The unfortunate reality is that only the lawyers make money in such cases.
205.
▲
by
amenghra
3y ago
https://nandgame.com/ has a cmos level towards the end. It doesn’t explain the transistor-level physics but does let you play with things. The art of electronics book might be a good place to start if you want to learn the
206.
▲
by
amenghra
3y ago
http://lalo.li/lsd/ is fun! You could add so many twists to it, e.g. a thing that throws multiple balls if one ball arrives in it (think pinball machines).
207.
▲
by
amenghra
3y ago
I created https://kidsclock.quaxio.com/ to help my kid learn to read analog clocks. He mastered the skill before I finished the app (works fine on desktop, not yet fully functional on mobile). I love to create these kinds o
208.
▲
by
amenghra
3y ago
I bet the same people behind this would take https://www.ietf.org/rfc/rfc3514.txt seriously.
209.
▲
by
amenghra
3y ago
Agree. We could have all had some fine autonomous trams/subways/trains which run 24/7 at short intervals instead of spending money on self-driving cars and car infrastructure in general.
210.
▲
by
amenghra
3y ago
What's your gripe with calling a bus which successfully ran for 5 years without a driver not autonomous? As someone who used this specific bus occasionally, I was quite satisfied with the outcome: it safely drove me from A to B.
More ›