skysight-inc/HackerNews huggingface dataset:
This is incredible! Uploading all legislation to a repository and declaring it as the authoritative version is the way to go to enable progress.

In Turkey, judges and prosecutors have access to a digital law database, but citizens and lawyers don’t. However, laws continue to be published in an online gazette. Most amendments, decrees etc. are published as low-res images. You cannot search them. The government doesn’t even bother publishing the full amendment text. They only state sentences like: “The second word on the sixteenth paragraph of the law numbered X was amended as Y.”.

To find out about the amendment, you open the legislation, follow the instructions to get the latest version.

There are third party publishers who follow these changes and sell memberships where you can see the latest code. The layman has to wait until the government publishes the text (unofficialy) and cannot do comparisons.

It is a real mess. But the government here doesn’t want people to notice the changes, that’s why they bury these in small print. Public officials know the law, citizens have to work hard to get the latest text.

I had law professors in college, who checked the legislation with printed copies of the state newspaper against the published version, because they were sceptical of the government’s unofficial legislation site. They suspected that the government may have been altering these texts. The constitution only protects the integrity of the text published in the official state newspaper. But as most people don’t have any other source these become the authoritive one.

It’s really sickening. If there were a standardized format for all legislation (including the drafts), we could search easily, make comparisons easily etc.
Manage Serverless APIs with API Gateway
Combining the privacy&security of an onprem solution with the benefits of SaaS
Is there any static website builders which make it easy to execute code at build time?

They all have a templating language, and sometimes I just wanna write a quick function to do something like read a file, chop something out and wrap it in some html -- something that would take 8 lines of Python.
From my own experience, you are correct.

With only a bartered acoustic guitar, I used tricks (disconnecting the erase head wires) to layer on standard cassette and create songs. A friend loaned me his cassette 4-track for a weekend and I knocked out 7 tracks.

This was in the 80's.

Now with the luxury of hard disk recording, and essentially a whole studio on my laptop, I instead post to HN. ;-)

What can I say, I'm old and not as moved by the creative passions of youth.

Maybe "creativity finds a way" is another way to put it.
Interesting perspective. I guesss you can ask Roger Federer at his prime and other tennis players.
Most large companies typically have a bunch of primary languages/frameworks, so IMO there's never really such a thing as going all in. Unless you're FB and you're stuck with PHP/Hack.
> But I think for the average engineer getting a job at FAANG/equivalent is not very hard if you're willing to prepare for the interviews.

I agree that getting a job there is not very hard. Getting a senior role (which is what you originally mentioned) is. Anyone who is more than a few years out of school either needs to be really good or accept taking a significant step backwards in career progression (and probably a lowballed comp package).
Show HN: Homepage, a fast browser that gets you organized
That happens to me a lot of times when playing board games. I tend to start designing the software to play it instead of actually play. So it breaks my concentration in the game.
> "real-embedded-devs-don't-use-Arduino"

It's absolutely that. So people can achieve results with less effort and hardship. This is a good thing for the users but bad for the gatekeepers.

Yes, the arduino user will have achieved results without understanding as much, or having as much formal training. For some reason that upsets those who have.
What are their alternatives? Plastic is worse and paper does not seal properly. They would need to line paper with something that makes it bad again for recycling. Letting people collect the used pods and return them for free makes sense if you want to have a pod system.

Of course you could make coffee the old way.
Hi HN,

My cofounder Deven Navani (dnavani) and I have spent the past couple months working on Homepage: a fast browser that gets you organized.

We're both software engineers and students and we have a lot of tabs open when we work. We realized that it's really hard to find the tabs you want quickly once you've got enough, since Chrome's UX isn't suited for a lot of tabs (imagine using Finder with horizontal file listing!). Even worse, your laptop starts slowing down to the point that scrolling can develop noticeable latency.

Homepage solves this by displaying your tabs vertically, like in Finder, and letting you drag and drop them into folders. Simple addition, but makes life with 50+ tabs much easier.

We also realized that the main reason your computer slows down with many tabs open is because of disk paging. Browsers and CPUs are blazing fast when they don't have to wait on your SSD/HDD to give them data, but as soon as disk paging kicks in performance drops off a cliff. That's why we built a caching system that automatically unloads tabs you haven't used in a while, so no matter how many tabs you have your experience stays performant.

We also use the same Rust-based ad blocking engine Brave does, so even pages with many ad elements should load quickly.

All your browsing data is stored locally - no clouds involved here :)

Give it a shot - we'd really appreciate your feedback. Both my and Deven's emails are in our bios.

Some fun technical trivia:

- Our tab cache is built on an LRU cache (turns out those coding interview questions do come up eventually!)

- We've managed to get to what you see now in 3 months of work in our spare time every day. We chose to build on Electron since it let us build and experiment with features and the UI much more quickly, and the extra RAM usage compared to the RAM used by web pages is minimal.
Those who would give up essential liberty, to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin F.
Of course it depends on what one sees as essential
This is still one of the pieces written on error handling. http://joeduffyblog.com/2016/02/07/the-error-model/
So many mental health apps these days with so little high quality evidence of their effectiveness.

And there are so many of these apps out there, why would someone build their own? Maybe OP is onto something though.

Could it be that the creative process and challenge of building an app to solve a personal problem is just as good a treatment for depression as the app itself?
How about we just don't buy them.
Yeah, seems to be a common theme across the world, there used to be some standard and system for reusing/recycling containers... and now it's gone. We've gone backwards on this for some reason.
How Different the World Used to Be: These Ads Show It
Despite this, Germans seem to use a lot of bottles. Most German people seem to prefer to drink bottled water rather than tap water, even though tap water is of very high quality. They also don't have the concentrated drinks available in other countries (cordial/squash) and insist on shipping around diluted drinks in heavy glass bottles.
I tried config files in the .INI type syntax of python's configparser but turns out there is a lot of hidden complexity where the "default config" intersects the "user config"
Show HN: Paper and Book List of System for Machine Learning
Burning generates energy.
Here's my "old-timer" take on the 30%:

I used to develop games and apps for MS PocketPC. Our users could install apps straight from their PC to the PocketPC.

But guess how apps were sold: through portals. These portals also took around 30% (Handango and PocketGear were the biggest ones back then).

We were also selling straight from our website, where we could have had 0% cost. But guess what: We wanted to reach top 10 on Handango, and the best way to do that was send our customers through Handango. Once in the top 10 (front page), it would multiply our sales. So even on our own site we choose to 'lose' 30%.

Just take a look at Steam: it's PC games! You can sell all those things straight to the consumer. But developers still choose to give 30% (or how much is it now?) for the exposure.

Conclusion: there will always be some party taking around 30%. Why? Because it's well worth the 30%
> he cannot feasibly do that

Apple did. They were worth approximately the same as Epic are now when they launched the iPhone. They hadn’t any meaningful presence in the phone industry and people thought it was ridiculous that they were trying.

Palm CEO Ed Colligan:

> We’ve learned and struggled for a few years here figuring out how to make a decent phone. PC guys are not going to just figure this out. They’re not going to just walk in.

Telstra COO Greg Winn:

> There’s an old saying — stick to your knitting — and Apple is not a mobile phone manufacturer, that’s not their knitting…

Microsoft CEO Steve Ballmer:

> There's no chance that the iPhone is going to get any significant market share. No chance.

In 2007, there were tonnes of people saying “Apple cannot feasibly do that” as well, just like you are saying it about Epic today. But Apple did it anyway and succeeded. Epic have that opportunity too, they could attempt to build their own mobile platform. Apple tried and succeeded. Google tried and succeeded. Epic could try, but instead they are asking the court to force Apple and Google to change their platforms to be more favourable to Epic’s wishes.
I remember reading that the Reddit founders created fake users and posted links / conversation starters in order to make the site feel like it had some level of critical mass.
if json only allowed comments...
I don't think it is just survivor bias, since the claim applies to all life as we understand it and not just life in human form. "Anthropic Principle" is kind of a poor name for it.
What I like most about some experienced engineers who have been at companies from the beginning is that they realize the needs of a small-team, cash-constrained, rapidly growing company are different from that of a dozens-of-teams, complex, but also rapidly scaling enterprise. The devil is in understanding when and how to transition your tooling, architecture, and — dare I say it — attitudes, from the one to the other.

I am curious to hear more from these engineers; how decisions were made about transitioning/scaling; and what decisions were made.
Lots has been written about this. There are several ways.

1. You start small ( pick a topic and be the best place to discuss that topic)

2. You can fake engagements with multiple accounts to get the ball rolling ( reddit did it, indiehackers did it etc...)

https://www.google.com/search?q=indiehackers+how+to+start+co...
> figure out how something that used to be a signifier of having absolutely no taste in music has become so popular with music connoisseurs.

A) They make good music.

B) They are ignorant of the popular opinion about bands who haven't been relevant in at least 20 years.

Like with Nickelback: it's popular to hate them so everyone hates them. In another 10-15 years, young people who never learned that they were supposed to hate Nickelback will judge them on their merits alone, and maybe they will see a brief surge in popularity.

Also, I think most of the hate in music industry is manufactured anyway. Popular bands earn too much sway with audiences and start dictating terms to record labels, so the execs put together an anti-marketing campaign to knock them down a few pegs.
my aha moment as a developer

- I would learn some technology to a point where it does what I want

- I take what I learned to some new technology but find myself doing things from what I learned in other technologies

- this puts me in a strange loop where reality wasn't lining up with my expectations or I would do things that were more work than necessary because of learned habits

- the aha moment was when i started learning the theory of the thing I was working with

* it was key to getting out of this rut

* turns out this applies to any theory from abstractions all the way down to computational theory, type theory, automata theory, software analysis theory, hey if i ever get there maybe even software synthesis

in a nutshell i would summarize this aha moment as "you can keep doing the same old tricks and eat the cost or you can always dig deeper and see what costs can be avoided."
The annotations and formatting make your list way more useful than the official IANA one. I appreciate the links to learn more about each TLD.
I feel like projects like this work for simple stuff but as soon as you need analytics/insights or actual business logic, you almost always need to just "roll your own" API. Am I wrong? Do other people feel this way? Can anybody think of a few projects they've worked on that would be too complex/a ton of work to make work with these kind of simple template generators?
I had the same thought—making a thing can be cathartic, especially if you wind up listening to relaxing music the entire time you’re working on it.

As far as risk goes this seems low voltage enough to be at worst harmless.
Yes, I tried it and it's not great. So I basically have Spotify and Plex now and have to switch between the two. Spotify is still great for discovery and radio.
>They are called anti virus (also check for malware, trojan, backdoor, rootkit etc. etc.)

1. And most anti-virus are considered a scam by most people

2. Apps that make egregious use of device APIs to implement tracking won't be flagged as a virus.
Portland passes first ban on business use of facial recognition
For someone who preaches choice so much, you sure are against going with a different choice like, say, Android.
That said, I think it's safe to say - this tweet is a sign that Rust is gaining traction at Apple. It might end up influencing others at Apple to consider Rust as an option and evangelize it within.
> I started just a tad later and fully digital than the gear in this article

Expecting to hear about your Alesis DAT recorder....
While I feel prestige is a nebulous thing (it partly owes to marketing, optimizing for rankings etc), it is something that has real world implications in terms of an institution being attractive to talent etc. and talent, like interest, compounds.

With respect to Anglo-Saxon institutions, I don't think all of it just mere bias.

The talent pool issue is not a negligible one. English-speaking universities simply have a larger pool to draw from, and the best American universities in particular have the advantage of being able to not only draw talent from the largest English-speaking country in the world (itself, though arguably India too if we count L2 speakers), but also tons of aspiring students around the world who also speak English (especially from large countries like China and of course India) who become alumni, achieve success elsewhere and go on to boost their alma mater in their spheres of influence. Also the spreaders of international influence (the media) tend to be predominantly English-speaking, so Anglophone universities are naturally boosted over others.

Most non-English speaking elite universities are limited in that way -- Ecole Polytechnique for instance is very famous (and very elite) in France but has trouble drawing talent from the rest of the world. Not as many people are interested in learning French vs English...

The other is "forward momentum" I think, which has to do with research $ for producing work that matters. US schools have real money to hire and do "stuff that matters", at a scale that would be inconceivable at universities in smaller countries. It's also easier to assemble the right team with when you have a big pool of people to draw from both domestically and internationally, and to provide a strong academic community for folks to thrive in.

Also universities that optimize for selective admissions at the undergraduate level tend to have different goals (say, grooming an elite class for the country's public, private sector, etc.) from research universities, whose goals are to generate discoveries (the latter tends to be considered, for better or worse, more prestigious). As such, you may not be surprised to learn, most elite universities (at the undergrad level) don't have strong research programs.

There's a metagame here, and our instinct is to think that education rigor is necessary and sufficient to produce prestigious universities, but I think in the modern world, other factors dominate.
There is this movie called 'Threads' filmed in Sheffield for the BBC about nuclear war. Made back in the 1980's it has a scene in it with a record player that I can remember. The record player and records are not understood by the post-nuclear survivors, they don't know what it is for. It is a metaphor for culture and what it is to be human.

Early 90's dance music was the soundtrack to my student life.

The records of the 'rave era' didn't have much going on with the sleeves. Compared to the rock and roll records of the previous generation or guitar based 'Indie' music the sleeves were very different, you would be lucky to have 33 or 45 rpm written on the record correctly. Something had been lost in that the sleeve artwork didn't have the same value. However, the logo for the label (printed on the record's A-side label) did look cool rotating around at 33 or 45 rpm.

Having an actual record player was not strictly necessary as, in student life, you would be somewhere else most evenings where 'decks' existed. I knew a few people who had the latest and most hard to obtain records but had no record player. They certainly didn't do tapes either. Records could be bought unheard by them in the store and played for the first time in a venue with the big speakers and a crowd. People could DJ that way, all their money in vinyl, nothing spent on audio kit and willing to subject unsuspecting victims to new music.

In those days and in that genre it was £5 - £8 for a 12" single that would have one song and inevitable remixes. A £50 a week budget was reasonable on student means. Nowadays I can't imagine anyone paying that much for their music.

CDs were available but the reasons for not buying them were many. The mixing thing was one factor, you couldn't play a CD at 'plus 8' (rpm) unless you bought one of those CD players for DJ things. But the most compelling reason not to buy the CD was that you wanted the limited pressing of a thousand vinyl from a small label, not the printed by the million CD from a major label. By the time the successful original vinyl made it from the small label to the big label (and on CD) music had in fact moved on. Plus the major labels somehow washed all life out of the music they published.

Decks were important - Technics 1210's - but there was something cool about just having a basic record player that had no sophistication whatsoever, not even auto return. To get up, walk across the room, find the next track, swap the records over removing fluff from the needle and sit down again had something to it that you don't get with an mp3 player. The recall to find a song in a sizeable collection when all the sleeves were ambiguous was also a skill. There was also a certain amount of filing, putting everything back when every wall space had records stacked against it was inevitable tidying up after a good night.

Returning to 'Threads' and where the world is going with C19, I worry about students today not being able to get their music the vinyl way at house parties. Having every song ever made on Spotify is great, particularly when you have Discogs, but the mystique has gone.
I've seen folks add comments to json... as data

{"comment":"hi mom", ...}
I'm not sure you need those LED/LASER headlights... I don't understand what the manufacturers are thinking, those lights are incredibly bright, dangerously so - how are they even legal?
How much I made as a really good Engineer at Facebook
Jordan Peterson (yes, I know he’s got his problems) had a line in one of his recorded class sessions that has always stuck with me. I don’t have time to find the video on YouTube, but it was something along the lines of: If you’re dealing with someone who’s depressed and they’re really depressed, you should try giving them antidepressants because if they die you can’t help them.

The point being, it isn’t a cure, but it keeps you going until you can get therapy sessions or whatever else you need.
We aren't really talking about OSes though, we are talking about software distribution. No one is trying to force Apple to let other phone manufacturers use iOS or force them to open source it.

Is advertising and hosting software so novel that it doesn't deserve any scrutiny?
> Try to avoid political threads. Each one has his/her opinion and wants to donwvote any alternative.

This cannot be overstated. Things are weird now: so many folks immediately think you're the devil if you have a countering perspective. Of all things in the social space, this worries me the most.
I'll have to take a look at that, I love magit's UI for its ease of discovery. Before magit I didn't know that 'git bisect' existed, nor how useful it was.

I can think of a few other utilities that would really benefit from a similar interface. Certain use cases of org-mode come to mind. There's nearly always a way to do what I want in org, but sometimes it's a pain to figure out even simple use cases without going to the docs or a forum. It's just something that seems to go hand in hand with all really powerful tools.

I may play around with writing a custom mode for my particular workflow of using org for literate programming. There are a bunch of commands I find useful, but don't use often enough to have committed to memory. I'd also love to be able to pull up a pop-up buffer, like magit's commit messages, whenever I want to edit a source block in more detail.
I don't. It's an observation.
WordPress has an official REST API. It's pretty easy to rip post/page content out of it either on a schedule (cron) or dynamically, in either case rendering finished pages from templates or similar, and serve it without involving WP directly. I'm not too familiar with static site generators but I'd expect any that can take raw HTML for post/page bodies to be trivial to automate to serve such a pipeline.

https://developer.wordpress.org/rest-api/
The Cybersyn Revolution
Anything worth doing is worth overdoing!
The court has 5 conservatives and only 2 of them agreed.

Textualism is a very weak foundation for a question which is relevant primarily because the issues at hand were not understood well enough to be part of the language when the law was written.
Why Goodreads is bad for books
I'm not downvoting you. I can't downvote anyone. I don't think I have enough points to downvote. If I didn't want to talk to you I wouldn't be replying!
> Plastic is petroleum and it's probably better that we use it and bury it then burn it.

> We also have plenty of land to bury stuff in.

> The thing we should focus on is carbon footprint.

Is this a joke?
"If you can pay it with money, it's cheap".

It means that if you can use money istead of family, health, sanity, etc... it is going to be easier for you.

It comes from the Valencia expression "Si es paga amb diners, barato!"
Whether something is a "monopoly" or not is immaterial to US antitrust law. What is relevant is concentration of market power and the facts of how it's being wielded.
> I don't know why this is.

> I say this having studied at Oxford and Cambridge

Hah! So not so smart after all then...
I believe innovation would be encouraged by the incentive to capture a market for a specific use case with an innovation in either process, material, or diminished environmental impacts.

Corporations (and citizens) need to be accountable for making decisions that go against societies best interests - the current infatuation with profit at all costs is eerily similar to the proliferation of cells at all costs in cancer.